Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
a4928cff
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
a4928cff
编写于
4月 23, 2008
作者:
I
Ingo Molnar
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
"make namespacecheck" fixes
Signed-off-by:
N
Ingo Molnar
<
mingo@elte.hu
>
上级
f8dc5a18
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
18 addition
and
20 deletion
+18
-20
arch/x86/kernel/apic_32.c
arch/x86/kernel/apic_32.c
+1
-1
arch/x86/kernel/apic_64.c
arch/x86/kernel/apic_64.c
+2
-2
arch/x86/kernel/process_32.c
arch/x86/kernel/process_32.c
+1
-1
arch/x86/kernel/process_64.c
arch/x86/kernel/process_64.c
+1
-1
arch/x86/kernel/setup_32.c
arch/x86/kernel/setup_32.c
+2
-2
arch/x86/kernel/smpboot.c
arch/x86/kernel/smpboot.c
+6
-6
arch/x86/kernel/tlb_64.c
arch/x86/kernel/tlb_64.c
+1
-1
arch/x86/kernel/vsyscall_64.c
arch/x86/kernel/vsyscall_64.c
+1
-1
arch/x86/mm/dump_pagetables.c
arch/x86/mm/dump_pagetables.c
+1
-1
arch/x86/mm/pageattr.c
arch/x86/mm/pageattr.c
+1
-1
arch/x86/mm/srat_64.c
arch/x86/mm/srat_64.c
+1
-1
include/asm-x86/smp.h
include/asm-x86/smp.h
+0
-1
include/asm-x86/tsc.h
include/asm-x86/tsc.h
+0
-1
未找到文件。
arch/x86/kernel/apic_32.c
浏览文件 @
a4928cff
...
...
@@ -902,7 +902,7 @@ void __init init_bsp_APIC(void)
apic_write_around
(
APIC_LVT1
,
value
);
}
void
__cpuinit
lapic_setup_esr
(
void
)
static
void
__cpuinit
lapic_setup_esr
(
void
)
{
unsigned
long
oldvalue
,
value
,
maxlvt
;
if
(
lapic_is_integrated
()
&&
!
esr_disable
)
{
...
...
arch/x86/kernel/apic_64.c
浏览文件 @
a4928cff
...
...
@@ -429,7 +429,7 @@ void __init setup_boot_APIC_clock(void)
* set the DUMMY flag again and force the broadcast mode in the
* clockevents layer.
*/
void
__cpuinit
check_boot_apic_timer_broadcast
(
void
)
static
void
__cpuinit
check_boot_apic_timer_broadcast
(
void
)
{
if
(
!
disable_apic_timer
||
(
lapic_clockevent
.
features
&
CLOCK_EVT_FEAT_DUMMY
))
...
...
@@ -834,7 +834,7 @@ void __cpuinit setup_local_APIC(void)
preempt_enable
();
}
void
__cpuinit
lapic_setup_esr
(
void
)
static
void
__cpuinit
lapic_setup_esr
(
void
)
{
unsigned
maxlvt
=
lapic_get_maxlvt
();
...
...
arch/x86/kernel/process_32.c
浏览文件 @
a4928cff
...
...
@@ -550,7 +550,7 @@ static void hard_enable_TSC(void)
write_cr4
(
read_cr4
()
&
~
X86_CR4_TSD
);
}
void
enable_TSC
(
void
)
static
void
enable_TSC
(
void
)
{
preempt_disable
();
if
(
test_and_clear_thread_flag
(
TIF_NOTSC
))
...
...
arch/x86/kernel/process_64.c
浏览文件 @
a4928cff
...
...
@@ -562,7 +562,7 @@ static void hard_enable_TSC(void)
write_cr4
(
read_cr4
()
&
~
X86_CR4_TSD
);
}
void
enable_TSC
(
void
)
static
void
enable_TSC
(
void
)
{
preempt_disable
();
if
(
test_and_clear_thread_flag
(
TIF_NOTSC
))
...
...
arch/x86/kernel/setup_32.c
浏览文件 @
a4928cff
...
...
@@ -442,7 +442,7 @@ static void __init reserve_ebda_region(void)
}
#ifndef CONFIG_NEED_MULTIPLE_NODES
void
__init
setup_bootmem_allocator
(
void
);
static
void
__init
setup_bootmem_allocator
(
void
);
static
unsigned
long
__init
setup_memory
(
void
)
{
/*
...
...
@@ -477,7 +477,7 @@ static unsigned long __init setup_memory(void)
return
max_low_pfn
;
}
void
__init
zone_sizes_init
(
void
)
static
void
__init
zone_sizes_init
(
void
)
{
unsigned
long
max_zone_pfns
[
MAX_NR_ZONES
];
memset
(
max_zone_pfns
,
0
,
sizeof
(
max_zone_pfns
));
...
...
arch/x86/kernel/smpboot.c
浏览文件 @
a4928cff
...
...
@@ -184,7 +184,7 @@ static void unmap_cpu_to_node(int cpu)
u8
cpu_2_logical_apicid
[
NR_CPUS
]
__read_mostly
=
{
[
0
...
NR_CPUS
-
1
]
=
BAD_APICID
};
void
map_cpu_to_logical_apicid
(
void
)
static
void
map_cpu_to_logical_apicid
(
void
)
{
int
cpu
=
smp_processor_id
();
int
apicid
=
logical_smp_processor_id
();
...
...
@@ -197,7 +197,7 @@ void map_cpu_to_logical_apicid(void)
map_cpu_to_node
(
cpu
,
node
);
}
void
unmap_cpu_to_logical_apicid
(
int
cpu
)
static
void
unmap_cpu_to_logical_apicid
(
int
cpu
)
{
cpu_2_logical_apicid
[
cpu
]
=
BAD_APICID
;
unmap_cpu_to_node
(
cpu
);
...
...
@@ -211,7 +211,7 @@ void unmap_cpu_to_logical_apicid(int cpu)
* Report back to the Boot Processor.
* Running on AP.
*/
void
__cpuinit
smp_callin
(
void
)
static
void
__cpuinit
smp_callin
(
void
)
{
int
cpuid
,
phys_id
;
unsigned
long
timeout
;
...
...
@@ -436,7 +436,7 @@ static void __cpuinit smp_apply_quirks(struct cpuinfo_x86 *c)
#endif
}
void
__cpuinit
smp_checks
(
void
)
static
void
__cpuinit
smp_checks
(
void
)
{
if
(
smp_b_stepping
)
printk
(
KERN_WARNING
"WARNING: SMP operation may be unreliable"
...
...
@@ -565,7 +565,7 @@ void __init smp_alloc_memory(void)
}
#endif
void
impress_friends
(
void
)
static
void
impress_friends
(
void
)
{
int
cpu
;
unsigned
long
bogosum
=
0
;
...
...
@@ -1287,7 +1287,7 @@ void cpu_exit_clear(void)
}
# endif
/* CONFIG_X86_32 */
void
remove_siblinginfo
(
int
cpu
)
static
void
remove_siblinginfo
(
int
cpu
)
{
int
sibling
;
struct
cpuinfo_x86
*
c
=
&
cpu_data
(
cpu
);
...
...
arch/x86/kernel/tlb_64.c
浏览文件 @
a4928cff
...
...
@@ -191,7 +191,7 @@ void native_flush_tlb_others(const cpumask_t *cpumaskp, struct mm_struct *mm,
spin_unlock
(
&
f
->
tlbstate_lock
);
}
int
__cpuinit
init_smp_flush
(
void
)
static
int
__cpuinit
init_smp_flush
(
void
)
{
int
i
;
...
...
arch/x86/kernel/vsyscall_64.c
浏览文件 @
a4928cff
...
...
@@ -216,7 +216,7 @@ vgetcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache)
return
0
;
}
long
__vsyscall
(
3
)
venosys_1
(
void
)
static
long
__vsyscall
(
3
)
venosys_1
(
void
)
{
return
-
ENOSYS
;
}
...
...
arch/x86/mm/dump_pagetables.c
浏览文件 @
a4928cff
...
...
@@ -324,7 +324,7 @@ static const struct file_operations ptdump_fops = {
.
release
=
single_release
,
};
int
pt_dump_init
(
void
)
static
int
pt_dump_init
(
void
)
{
struct
dentry
*
pe
;
...
...
arch/x86/mm/pageattr.c
浏览文件 @
a4928cff
...
...
@@ -993,7 +993,7 @@ static const struct file_operations dpa_fops = {
.
release
=
single_release
,
};
int
__init
debug_pagealloc_proc_init
(
void
)
static
int
__init
debug_pagealloc_proc_init
(
void
)
{
struct
dentry
*
de
;
...
...
arch/x86/mm/srat_64.c
浏览文件 @
a4928cff
...
...
@@ -163,7 +163,7 @@ acpi_numa_processor_affinity_init(struct acpi_srat_cpu_affinity *pa)
pxm
,
apic_id
,
node
);
}
int
update_end_of_memory
(
unsigned
long
end
)
{
return
-
1
;}
static
int
update_end_of_memory
(
unsigned
long
end
)
{
return
-
1
;}
static
int
hotadd_enough_memory
(
struct
bootnode
*
nd
)
{
return
1
;}
#ifdef CONFIG_MEMORY_HOTPLUG_SPARSE
static
inline
int
save_add_info
(
void
)
{
return
1
;}
...
...
include/asm-x86/smp.h
浏览文件 @
a4928cff
...
...
@@ -199,7 +199,6 @@ static inline int hard_smp_processor_id(void)
#ifdef CONFIG_HOTPLUG_CPU
extern
void
cpu_exit_clear
(
void
);
extern
void
cpu_uninit
(
void
);
extern
void
remove_siblinginfo
(
int
cpu
);
#endif
extern
void
smp_alloc_memory
(
void
);
...
...
include/asm-x86/tsc.h
浏览文件 @
a4928cff
...
...
@@ -18,7 +18,6 @@ extern unsigned int cpu_khz;
extern
unsigned
int
tsc_khz
;
extern
void
disable_TSC
(
void
);
extern
void
enable_TSC
(
void
);
static
inline
cycles_t
get_cycles
(
void
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录