diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 07:30:28 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:28 -0500 |
commit | 3abf024d2abb79614d8c4cb25a70d5596f77d0ad (patch) | |
tree | 443a31982281a6b5a0816946927ebda9eca1f24d /arch | |
parent | a72368dd37f6ae333fbab03598e46a995d91decc (diff) |
x86: nuke a ton of unused exports
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/cpu/perfctr-watchdog.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/e820_64.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/init_task.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/pci-swiotlb_64.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/smpboot_32.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/smpboot_64.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/stacktrace.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/traps_64.c | 8 | ||||
-rw-r--r-- | arch/x86/mach-voyager/voyager_smp.c | 1 | ||||
-rw-r--r-- | arch/x86/mm/numa_64.c | 1 |
10 files changed, 0 insertions, 18 deletions
diff --git a/arch/x86/kernel/cpu/perfctr-watchdog.c b/arch/x86/kernel/cpu/perfctr-watchdog.c index c02541e6e653..9b838324b818 100644 --- a/arch/x86/kernel/cpu/perfctr-watchdog.c +++ b/arch/x86/kernel/cpu/perfctr-watchdog.c | |||
@@ -167,7 +167,6 @@ void release_evntsel_nmi(unsigned int msr) | |||
167 | clear_bit(counter, evntsel_nmi_owner); | 167 | clear_bit(counter, evntsel_nmi_owner); |
168 | } | 168 | } |
169 | 169 | ||
170 | EXPORT_SYMBOL(avail_to_resrv_perfctr_nmi); | ||
171 | EXPORT_SYMBOL(avail_to_resrv_perfctr_nmi_bit); | 170 | EXPORT_SYMBOL(avail_to_resrv_perfctr_nmi_bit); |
172 | EXPORT_SYMBOL(reserve_perfctr_nmi); | 171 | EXPORT_SYMBOL(reserve_perfctr_nmi); |
173 | EXPORT_SYMBOL(release_perfctr_nmi); | 172 | EXPORT_SYMBOL(release_perfctr_nmi); |
diff --git a/arch/x86/kernel/e820_64.c b/arch/x86/kernel/e820_64.c index e510cfd5bb71..0128b0b0e5b5 100644 --- a/arch/x86/kernel/e820_64.c +++ b/arch/x86/kernel/e820_64.c | |||
@@ -34,7 +34,6 @@ struct e820map e820; | |||
34 | * PFN of last memory page. | 34 | * PFN of last memory page. |
35 | */ | 35 | */ |
36 | unsigned long end_pfn; | 36 | unsigned long end_pfn; |
37 | EXPORT_SYMBOL(end_pfn); | ||
38 | 37 | ||
39 | /* | 38 | /* |
40 | * end_pfn only includes RAM, while end_pfn_map includes all e820 entries. | 39 | * end_pfn only includes RAM, while end_pfn_map includes all e820 entries. |
diff --git a/arch/x86/kernel/init_task.c b/arch/x86/kernel/init_task.c index 468c9c437842..5b3ce7934363 100644 --- a/arch/x86/kernel/init_task.c +++ b/arch/x86/kernel/init_task.c | |||
@@ -15,7 +15,6 @@ static struct files_struct init_files = INIT_FILES; | |||
15 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); | 15 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); |
16 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); | 16 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); |
17 | struct mm_struct init_mm = INIT_MM(init_mm); | 17 | struct mm_struct init_mm = INIT_MM(init_mm); |
18 | EXPORT_SYMBOL(init_mm); | ||
19 | 18 | ||
20 | /* | 19 | /* |
21 | * Initial thread structure. | 20 | * Initial thread structure. |
diff --git a/arch/x86/kernel/pci-swiotlb_64.c b/arch/x86/kernel/pci-swiotlb_64.c index 102866d729a5..82a0a674a003 100644 --- a/arch/x86/kernel/pci-swiotlb_64.c +++ b/arch/x86/kernel/pci-swiotlb_64.c | |||
@@ -10,7 +10,6 @@ | |||
10 | #include <asm/dma.h> | 10 | #include <asm/dma.h> |
11 | 11 | ||
12 | int swiotlb __read_mostly; | 12 | int swiotlb __read_mostly; |
13 | EXPORT_SYMBOL(swiotlb); | ||
14 | 13 | ||
15 | const struct dma_mapping_ops swiotlb_dma_ops = { | 14 | const struct dma_mapping_ops swiotlb_dma_ops = { |
16 | .mapping_error = swiotlb_dma_mapping_error, | 15 | .mapping_error = swiotlb_dma_mapping_error, |
diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c index 4ea80cbe52e5..753d7acf4dac 100644 --- a/arch/x86/kernel/smpboot_32.c +++ b/arch/x86/kernel/smpboot_32.c | |||
@@ -83,7 +83,6 @@ EXPORT_SYMBOL(cpu_online_map); | |||
83 | 83 | ||
84 | cpumask_t cpu_callin_map; | 84 | cpumask_t cpu_callin_map; |
85 | cpumask_t cpu_callout_map; | 85 | cpumask_t cpu_callout_map; |
86 | EXPORT_SYMBOL(cpu_callout_map); | ||
87 | cpumask_t cpu_possible_map; | 86 | cpumask_t cpu_possible_map; |
88 | EXPORT_SYMBOL(cpu_possible_map); | 87 | EXPORT_SYMBOL(cpu_possible_map); |
89 | static cpumask_t smp_commenced_mask; | 88 | static cpumask_t smp_commenced_mask; |
diff --git a/arch/x86/kernel/smpboot_64.c b/arch/x86/kernel/smpboot_64.c index b36d32ff0b39..7552db9ee9ff 100644 --- a/arch/x86/kernel/smpboot_64.c +++ b/arch/x86/kernel/smpboot_64.c | |||
@@ -78,8 +78,6 @@ EXPORT_SYMBOL(cpu_online_map); | |||
78 | */ | 78 | */ |
79 | cpumask_t cpu_callin_map; | 79 | cpumask_t cpu_callin_map; |
80 | cpumask_t cpu_callout_map; | 80 | cpumask_t cpu_callout_map; |
81 | EXPORT_SYMBOL(cpu_callout_map); | ||
82 | |||
83 | cpumask_t cpu_possible_map; | 81 | cpumask_t cpu_possible_map; |
84 | EXPORT_SYMBOL(cpu_possible_map); | 82 | EXPORT_SYMBOL(cpu_possible_map); |
85 | 83 | ||
diff --git a/arch/x86/kernel/stacktrace.c b/arch/x86/kernel/stacktrace.c index 55771fd7e545..c571edd11878 100644 --- a/arch/x86/kernel/stacktrace.c +++ b/arch/x86/kernel/stacktrace.c | |||
@@ -69,7 +69,6 @@ void save_stack_trace(struct stack_trace *trace) | |||
69 | if (trace->nr_entries < trace->max_entries) | 69 | if (trace->nr_entries < trace->max_entries) |
70 | trace->entries[trace->nr_entries++] = ULONG_MAX; | 70 | trace->entries[trace->nr_entries++] = ULONG_MAX; |
71 | } | 71 | } |
72 | EXPORT_SYMBOL(save_stack_trace); | ||
73 | 72 | ||
74 | void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) | 73 | void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) |
75 | { | 74 | { |
diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index cc68b92316cd..aa248d754533 100644 --- a/arch/x86/kernel/traps_64.c +++ b/arch/x86/kernel/traps_64.c | |||
@@ -461,14 +461,6 @@ int is_valid_bugaddr(unsigned long rip) | |||
461 | return ud2 == 0x0b0f; | 461 | return ud2 == 0x0b0f; |
462 | } | 462 | } |
463 | 463 | ||
464 | #ifdef CONFIG_BUG | ||
465 | void out_of_line_bug(void) | ||
466 | { | ||
467 | BUG(); | ||
468 | } | ||
469 | EXPORT_SYMBOL(out_of_line_bug); | ||
470 | #endif | ||
471 | |||
472 | static raw_spinlock_t die_lock = __RAW_SPIN_LOCK_UNLOCKED; | 464 | static raw_spinlock_t die_lock = __RAW_SPIN_LOCK_UNLOCKED; |
473 | static int die_owner = -1; | 465 | static int die_owner = -1; |
474 | static unsigned int die_nest_count; | 466 | static unsigned int die_nest_count; |
diff --git a/arch/x86/mach-voyager/voyager_smp.c b/arch/x86/mach-voyager/voyager_smp.c index 73c435ce10fd..981def2b4e9b 100644 --- a/arch/x86/mach-voyager/voyager_smp.c +++ b/arch/x86/mach-voyager/voyager_smp.c | |||
@@ -227,7 +227,6 @@ static cpumask_t smp_commenced_mask = CPU_MASK_NONE; | |||
227 | /* This is for the new dynamic CPU boot code */ | 227 | /* This is for the new dynamic CPU boot code */ |
228 | cpumask_t cpu_callin_map = CPU_MASK_NONE; | 228 | cpumask_t cpu_callin_map = CPU_MASK_NONE; |
229 | cpumask_t cpu_callout_map = CPU_MASK_NONE; | 229 | cpumask_t cpu_callout_map = CPU_MASK_NONE; |
230 | EXPORT_SYMBOL(cpu_callout_map); | ||
231 | cpumask_t cpu_possible_map = CPU_MASK_NONE; | 230 | cpumask_t cpu_possible_map = CPU_MASK_NONE; |
232 | EXPORT_SYMBOL(cpu_possible_map); | 231 | EXPORT_SYMBOL(cpu_possible_map); |
233 | 232 | ||
diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c index 2d8fdc05f415..e7f3f4e9ec85 100644 --- a/arch/x86/mm/numa_64.c +++ b/arch/x86/mm/numa_64.c | |||
@@ -624,7 +624,6 @@ void __init init_cpu_to_node(void) | |||
624 | 624 | ||
625 | EXPORT_SYMBOL(cpu_to_node); | 625 | EXPORT_SYMBOL(cpu_to_node); |
626 | EXPORT_SYMBOL(node_to_cpumask); | 626 | EXPORT_SYMBOL(node_to_cpumask); |
627 | EXPORT_SYMBOL(memnode); | ||
628 | EXPORT_SYMBOL(node_data); | 627 | EXPORT_SYMBOL(node_data); |
629 | 628 | ||
630 | #ifdef CONFIG_DISCONTIGMEM | 629 | #ifdef CONFIG_DISCONTIGMEM |