projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
365bff8
)
[PATCH] i386: alloc_gdt() static
author
Adrian Bunk
<bunk@stusta.de>
Thu, 7 Dec 2006 01:14:10 +0000
(
02:14
+0100)
committer
Andi Kleen
<andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:10 +0000
(
02:14
+0100)
Make the needlessly global alloc_gdt() static.
(against) pda-percpu-init
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@muc.de>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
arch/i386/kernel/cpu/common.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/cpu/common.c
b/arch/i386/kernel/cpu/common.c
index 68bcb687019aa925e7f8852a4618db7073606197..1b34c56f8123ac7f4ccb7a7e677bee6ef8f7cb6f 100644
(file)
--- a/
arch/i386/kernel/cpu/common.c
+++ b/
arch/i386/kernel/cpu/common.c
@@
-609,7
+609,7
@@
struct pt_regs * __devinit idle_regs(struct pt_regs *regs)
return regs;
}
-__cpuinit int alloc_gdt(int cpu)
+
static
__cpuinit int alloc_gdt(int cpu)
{
struct Xgt_desc_struct *cpu_gdt_descr = &per_cpu(cpu_gdt_descr, cpu);
struct desc_struct *gdt;