Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
30ecee8c
cloud-kernel
项目概览
openanolis
/
cloud-kernel
接近 2 年 前同步成功
通知
169
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看板
提交
30ecee8c
编写于
4月 09, 2013
作者:
V
Vineet Gupta
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ARC: [build] Fix warnings with CONFIG_DEBUG_SECTION_MISMATCH
Signed-off-by:
N
Vineet Gupta
<
vgupta@synopsys.com
>
上级
5b00029e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
10 deletion
+10
-10
arch/arc/kernel/irq.c
arch/arc/kernel/irq.c
+1
-1
arch/arc/kernel/setup.c
arch/arc/kernel/setup.c
+5
-5
arch/arc/mm/cache_arc700.c
arch/arc/mm/cache_arc700.c
+2
-2
arch/arc/mm/tlb.c
arch/arc/mm/tlb.c
+2
-2
未找到文件。
arch/arc/kernel/irq.c
浏览文件 @
30ecee8c
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
* -Disable all IRQs (on CPU side)
* -Disable all IRQs (on CPU side)
* -Optionally, setup the High priority Interrupts as Level 2 IRQs
* -Optionally, setup the High priority Interrupts as Level 2 IRQs
*/
*/
void
__init
arc_init_IRQ
(
void
)
void
__
cpu
init
arc_init_IRQ
(
void
)
{
{
int
level_mask
=
0
;
int
level_mask
=
0
;
...
...
arch/arc/kernel/setup.c
浏览文件 @
30ecee8c
...
@@ -31,14 +31,14 @@
...
@@ -31,14 +31,14 @@
int
running_on_hw
=
1
;
/* vs. on ISS */
int
running_on_hw
=
1
;
/* vs. on ISS */
char
__initdata
command_line
[
COMMAND_LINE_SIZE
];
char
__initdata
command_line
[
COMMAND_LINE_SIZE
];
struct
machine_desc
*
machine_desc
__initdata
;
struct
machine_desc
*
machine_desc
__
cpu
initdata
;
struct
task_struct
*
_current_task
[
NR_CPUS
];
/* For stack switching */
struct
task_struct
*
_current_task
[
NR_CPUS
];
/* For stack switching */
struct
cpuinfo_arc
cpuinfo_arc700
[
NR_CPUS
];
struct
cpuinfo_arc
cpuinfo_arc700
[
NR_CPUS
];
void
__init
read_arc_build_cfg_regs
(
void
)
void
__
cpu
init
read_arc_build_cfg_regs
(
void
)
{
{
struct
bcr_perip
uncached_space
;
struct
bcr_perip
uncached_space
;
struct
cpuinfo_arc
*
cpu
=
&
cpuinfo_arc700
[
smp_processor_id
()];
struct
cpuinfo_arc
*
cpu
=
&
cpuinfo_arc700
[
smp_processor_id
()];
...
@@ -237,7 +237,7 @@ char *arc_extn_mumbojumbo(int cpu_id, char *buf, int len)
...
@@ -237,7 +237,7 @@ char *arc_extn_mumbojumbo(int cpu_id, char *buf, int len)
return
buf
;
return
buf
;
}
}
void
__init
arc_chk_ccms
(
void
)
void
__
cpu
init
arc_chk_ccms
(
void
)
{
{
#if defined(CONFIG_ARC_HAS_DCCM) || defined(CONFIG_ARC_HAS_ICCM)
#if defined(CONFIG_ARC_HAS_DCCM) || defined(CONFIG_ARC_HAS_ICCM)
struct
cpuinfo_arc
*
cpu
=
&
cpuinfo_arc700
[
smp_processor_id
()];
struct
cpuinfo_arc
*
cpu
=
&
cpuinfo_arc700
[
smp_processor_id
()];
...
@@ -272,7 +272,7 @@ void __init arc_chk_ccms(void)
...
@@ -272,7 +272,7 @@ void __init arc_chk_ccms(void)
* hardware has dedicated regs which need to be saved/restored on ctx-sw
* hardware has dedicated regs which need to be saved/restored on ctx-sw
* (Single Precision uses core regs), thus kernel is kind of oblivious to it
* (Single Precision uses core regs), thus kernel is kind of oblivious to it
*/
*/
void
__init
arc_chk_fpu
(
void
)
void
__
cpu
init
arc_chk_fpu
(
void
)
{
{
struct
cpuinfo_arc
*
cpu
=
&
cpuinfo_arc700
[
smp_processor_id
()];
struct
cpuinfo_arc
*
cpu
=
&
cpuinfo_arc700
[
smp_processor_id
()];
...
@@ -293,7 +293,7 @@ void __init arc_chk_fpu(void)
...
@@ -293,7 +293,7 @@ void __init arc_chk_fpu(void)
* such as only for boot CPU etc
* such as only for boot CPU etc
*/
*/
void
__init
setup_processor
(
void
)
void
__
cpu
init
setup_processor
(
void
)
{
{
char
str
[
512
];
char
str
[
512
];
int
cpu_id
=
smp_processor_id
();
int
cpu_id
=
smp_processor_id
();
...
...
arch/arc/mm/cache_arc700.c
浏览文件 @
30ecee8c
...
@@ -109,7 +109,7 @@ char *arc_cache_mumbojumbo(int cpu_id, char *buf, int len)
...
@@ -109,7 +109,7 @@ char *arc_cache_mumbojumbo(int cpu_id, char *buf, int len)
* the cpuinfo structure for later use.
* the cpuinfo structure for later use.
* No Validation done here, simply read/convert the BCRs
* No Validation done here, simply read/convert the BCRs
*/
*/
void
__init
read_decode_cache_bcr
(
void
)
void
__
cpu
init
read_decode_cache_bcr
(
void
)
{
{
struct
bcr_cache
ibcr
,
dbcr
;
struct
bcr_cache
ibcr
,
dbcr
;
struct
cpuinfo_arc_cache
*
p_ic
,
*
p_dc
;
struct
cpuinfo_arc_cache
*
p_ic
,
*
p_dc
;
...
@@ -141,7 +141,7 @@ void __init read_decode_cache_bcr(void)
...
@@ -141,7 +141,7 @@ void __init read_decode_cache_bcr(void)
* 3. Enable the Caches, setup default flush mode for D-Cache
* 3. Enable the Caches, setup default flush mode for D-Cache
* 3. Calculate the SHMLBA used by user space
* 3. Calculate the SHMLBA used by user space
*/
*/
void
__init
arc_cache_init
(
void
)
void
__
cpu
init
arc_cache_init
(
void
)
{
{
unsigned
int
temp
;
unsigned
int
temp
;
unsigned
int
cpu
=
smp_processor_id
();
unsigned
int
cpu
=
smp_processor_id
();
...
...
arch/arc/mm/tlb.c
浏览文件 @
30ecee8c
...
@@ -434,7 +434,7 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long vaddress,
...
@@ -434,7 +434,7 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long vaddress,
* the cpuinfo structure for later use.
* the cpuinfo structure for later use.
* No Validation is done here, simply read/convert the BCRs
* No Validation is done here, simply read/convert the BCRs
*/
*/
void
__init
read_decode_mmu_bcr
(
void
)
void
__
cpu
init
read_decode_mmu_bcr
(
void
)
{
{
unsigned
int
tmp
;
unsigned
int
tmp
;
struct
bcr_mmu_1_2
*
mmu2
;
/* encoded MMU2 attr */
struct
bcr_mmu_1_2
*
mmu2
;
/* encoded MMU2 attr */
...
@@ -480,7 +480,7 @@ char *arc_mmu_mumbojumbo(int cpu_id, char *buf, int len)
...
@@ -480,7 +480,7 @@ char *arc_mmu_mumbojumbo(int cpu_id, char *buf, int len)
return
buf
;
return
buf
;
}
}
void
__init
arc_mmu_init
(
void
)
void
__
cpu
init
arc_mmu_init
(
void
)
{
{
char
str
[
256
];
char
str
[
256
];
struct
cpuinfo_arc_mmu
*
mmu
=
&
cpuinfo_arc700
[
smp_processor_id
()].
mmu
;
struct
cpuinfo_arc_mmu
*
mmu
=
&
cpuinfo_arc700
[
smp_processor_id
()].
mmu
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录