Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
75d0c9e1
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
75d0c9e1
编写于
1月 18, 2011
作者:
T
Tony Lindgren
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fixes_a_2.6.38rc' of
git://git.pwsan.com/linux-2.6
into omap-fixes
上级
6845a44a
bc9fcaf3
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
43 addition
and
12 deletion
+43
-12
arch/arm/mach-omap1/time.c
arch/arm/mach-omap1/time.c
+7
-0
arch/arm/mach-omap2/clock44xx_data.c
arch/arm/mach-omap2/clock44xx_data.c
+0
-1
arch/arm/mach-omap2/clockdomain.c
arch/arm/mach-omap2/clockdomain.c
+26
-4
arch/arm/mach-omap2/clockdomains44xx_data.c
arch/arm/mach-omap2/clockdomains44xx_data.c
+0
-2
arch/arm/mach-omap2/powerdomain2xxx_3xxx.c
arch/arm/mach-omap2/powerdomain2xxx_3xxx.c
+0
-1
arch/arm/mach-omap2/timer-gp.c
arch/arm/mach-omap2/timer-gp.c
+8
-2
arch/arm/plat-omap/counter_32k.c
arch/arm/plat-omap/counter_32k.c
+1
-2
arch/arm/plat-omap/include/plat/common.h
arch/arm/plat-omap/include/plat/common.h
+1
-0
未找到文件。
arch/arm/mach-omap1/time.c
浏览文件 @
75d0c9e1
...
...
@@ -244,6 +244,13 @@ static void __init omap_timer_init(void)
omap_init_mpu_timer
(
rate
);
omap_init_clocksource
(
rate
);
/*
* XXX Since this file seems to deal mostly with the MPU timer,
* this doesn't seem like the correct place for the sync timer
* clocksource init.
*/
if
(
!
cpu_is_omap7xx
()
&&
!
cpu_is_omap15xx
())
omap_init_clocksource_32k
();
}
struct
sys_timer
omap_timer
=
{
...
...
arch/arm/mach-omap2/clock44xx_data.c
浏览文件 @
75d0c9e1
...
...
@@ -34,7 +34,6 @@
#include "cm2_44xx.h"
#include "cm-regbits-44xx.h"
#include "prm44xx.h"
#include "prm44xx.h"
#include "prm-regbits-44xx.h"
#include "control.h"
#include "scrm44xx.h"
...
...
arch/arm/mach-omap2/clockdomain.c
浏览文件 @
75d0c9e1
...
...
@@ -423,6 +423,12 @@ int clkdm_add_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2)
{
struct
clkdm_dep
*
cd
;
if
(
!
cpu_is_omap24xx
()
&&
!
cpu_is_omap34xx
())
{
pr_err
(
"clockdomain: %s/%s: %s: not yet implemented
\n
"
,
clkdm1
->
name
,
clkdm2
->
name
,
__func__
);
return
-
EINVAL
;
}
if
(
!
clkdm1
||
!
clkdm2
)
return
-
EINVAL
;
...
...
@@ -458,6 +464,12 @@ int clkdm_del_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2)
{
struct
clkdm_dep
*
cd
;
if
(
!
cpu_is_omap24xx
()
&&
!
cpu_is_omap34xx
())
{
pr_err
(
"clockdomain: %s/%s: %s: not yet implemented
\n
"
,
clkdm1
->
name
,
clkdm2
->
name
,
__func__
);
return
-
EINVAL
;
}
if
(
!
clkdm1
||
!
clkdm2
)
return
-
EINVAL
;
...
...
@@ -500,6 +512,12 @@ int clkdm_read_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2)
if
(
!
clkdm1
||
!
clkdm2
)
return
-
EINVAL
;
if
(
!
cpu_is_omap24xx
()
&&
!
cpu_is_omap34xx
())
{
pr_err
(
"clockdomain: %s/%s: %s: not yet implemented
\n
"
,
clkdm1
->
name
,
clkdm2
->
name
,
__func__
);
return
-
EINVAL
;
}
cd
=
_clkdm_deps_lookup
(
clkdm2
,
clkdm1
->
wkdep_srcs
);
if
(
IS_ERR
(
cd
))
{
pr_debug
(
"clockdomain: hardware cannot set/clear wake up of "
...
...
@@ -527,6 +545,12 @@ int clkdm_clear_all_wkdeps(struct clockdomain *clkdm)
struct
clkdm_dep
*
cd
;
u32
mask
=
0
;
if
(
!
cpu_is_omap24xx
()
&&
!
cpu_is_omap34xx
())
{
pr_err
(
"clockdomain: %s: %s: not yet implemented
\n
"
,
clkdm
->
name
,
__func__
);
return
-
EINVAL
;
}
if
(
!
clkdm
)
return
-
EINVAL
;
...
...
@@ -830,8 +854,7 @@ void omap2_clkdm_allow_idle(struct clockdomain *clkdm)
* dependency code and data for OMAP4.
*/
if
(
cpu_is_omap44xx
())
{
WARN_ONCE
(
1
,
"clockdomain: OMAP4 wakeup/sleep dependency "
"support is not yet implemented
\n
"
);
pr_err
(
"clockdomain: %s: OMAP4 wakeup/sleep dependency support: not yet implemented
\n
"
,
clkdm
->
name
);
}
else
{
if
(
atomic_read
(
&
clkdm
->
usecount
)
>
0
)
_clkdm_add_autodeps
(
clkdm
);
...
...
@@ -872,8 +895,7 @@ void omap2_clkdm_deny_idle(struct clockdomain *clkdm)
* dependency code and data for OMAP4.
*/
if
(
cpu_is_omap44xx
())
{
WARN_ONCE
(
1
,
"clockdomain: OMAP4 wakeup/sleep dependency "
"support is not yet implemented
\n
"
);
pr_err
(
"clockdomain: %s: OMAP4 wakeup/sleep dependency support: not yet implemented
\n
"
,
clkdm
->
name
);
}
else
{
if
(
atomic_read
(
&
clkdm
->
usecount
)
>
0
)
_clkdm_del_autodeps
(
clkdm
);
...
...
arch/arm/mach-omap2/clockdomains44xx_data.c
浏览文件 @
75d0c9e1
...
...
@@ -30,8 +30,6 @@
#include "cm1_44xx.h"
#include "cm2_44xx.h"
#include "cm1_44xx.h"
#include "cm2_44xx.h"
#include "cm-regbits-44xx.h"
#include "prm44xx.h"
#include "prcm44xx.h"
...
...
arch/arm/mach-omap2/powerdomain2xxx_3xxx.c
浏览文件 @
75d0c9e1
...
...
@@ -19,7 +19,6 @@
#include <plat/prcm.h>
#include "powerdomain.h"
#include "prm-regbits-34xx.h"
#include "prm.h"
#include "prm-regbits-24xx.h"
#include "prm-regbits-34xx.h"
...
...
arch/arm/mach-omap2/timer-gp.c
浏览文件 @
75d0c9e1
...
...
@@ -42,6 +42,8 @@
#include "timer-gp.h"
#include <plat/common.h>
/* MAX_GPTIMER_ID: number of GPTIMERs on the chip */
#define MAX_GPTIMER_ID 12
...
...
@@ -176,10 +178,14 @@ static void __init omap2_gp_clockevent_init(void)
/*
* When 32k-timer is enabled, don't use GPTimer for clocksource
* instead, just leave default clocksource which uses the 32k
* sync counter. See clocksource setup in
see plat-omap/common.c.
* sync counter. See clocksource setup in
plat-omap/counter_32k.c
*/
static
inline
void
__init
omap2_gp_clocksource_init
(
void
)
{}
static
void
__init
omap2_gp_clocksource_init
(
void
)
{
omap_init_clocksource_32k
();
}
#else
/*
* clocksource
...
...
arch/arm/plat-omap/counter_32k.c
浏览文件 @
75d0c9e1
...
...
@@ -160,7 +160,7 @@ void read_persistent_clock(struct timespec *ts)
*
ts
=
*
tsp
;
}
static
int
__init
omap_init_clocksource_32k
(
void
)
int
__init
omap_init_clocksource_32k
(
void
)
{
static
char
err
[]
__initdata
=
KERN_ERR
"%s: can't register clocksource!
\n
"
;
...
...
@@ -195,7 +195,6 @@ static int __init omap_init_clocksource_32k(void)
}
return
0
;
}
arch_initcall
(
omap_init_clocksource_32k
);
#endif
/* !(defined(CONFIG_ARCH_OMAP730) || defined(CONFIG_ARCH_OMAP15XX)) */
arch/arm/plat-omap/include/plat/common.h
浏览文件 @
75d0c9e1
...
...
@@ -35,6 +35,7 @@ struct sys_timer;
extern
void
omap_map_common_io
(
void
);
extern
struct
sys_timer
omap_timer
;
extern
int
__init
omap_init_clocksource_32k
(
void
);
extern
void
omap_reserve
(
void
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录