diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-03-03 12:12:30 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:40:52 -0400 |
commit | 639acb16e6b93342a786c01425cf8eb8ebbb1351 (patch) | |
tree | 809cc51e57d40b245a7aab1e221a11052a86eb99 /include | |
parent | c27cfeffad436816ecd500b8dc94acf348182b13 (diff) |
x86: merge extern function definitions
move extern function definitions that are the same between smp_{32,64}.h
to smp.h
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/smp.h | 3 | ||||
-rw-r--r-- | include/asm-x86/smp_32.h | 4 | ||||
-rw-r--r-- | include/asm-x86/smp_64.h | 4 |
3 files changed, 3 insertions, 8 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index f250d1c3f8a0..ad7b99dda0dc 100644 --- a/include/asm-x86/smp.h +++ b/include/asm-x86/smp.h | |||
@@ -8,5 +8,8 @@ | |||
8 | # include "smp_64.h" | 8 | # include "smp_64.h" |
9 | #endif | 9 | #endif |
10 | 10 | ||
11 | extern void smp_alloc_memory(void); | ||
12 | extern void lock_ipi_call_lock(void); | ||
13 | extern void unlock_ipi_call_lock(void); | ||
11 | #endif /* __ASSEMBLY__ */ | 14 | #endif /* __ASSEMBLY__ */ |
12 | #endif | 15 | #endif |
diff --git a/include/asm-x86/smp_32.h b/include/asm-x86/smp_32.h index 56152e312287..27812258ac6d 100644 --- a/include/asm-x86/smp_32.h +++ b/include/asm-x86/smp_32.h | |||
@@ -22,10 +22,6 @@ extern cpumask_t cpu_callin_map; | |||
22 | extern int smp_num_siblings; | 22 | extern int smp_num_siblings; |
23 | extern unsigned int num_processors; | 23 | extern unsigned int num_processors; |
24 | 24 | ||
25 | extern void smp_alloc_memory(void); | ||
26 | extern void lock_ipi_call_lock(void); | ||
27 | extern void unlock_ipi_call_lock(void); | ||
28 | |||
29 | extern void (*mtrr_hook) (void); | 25 | extern void (*mtrr_hook) (void); |
30 | extern void zap_low_mappings (void); | 26 | extern void zap_low_mappings (void); |
31 | 27 | ||
diff --git a/include/asm-x86/smp_64.h b/include/asm-x86/smp_64.h index e0a75519ad21..2c21df289da4 100644 --- a/include/asm-x86/smp_64.h +++ b/include/asm-x86/smp_64.h | |||
@@ -19,10 +19,6 @@ extern cpumask_t cpu_initialized; | |||
19 | extern int smp_num_siblings; | 19 | extern int smp_num_siblings; |
20 | extern unsigned int num_processors; | 20 | extern unsigned int num_processors; |
21 | 21 | ||
22 | extern void smp_alloc_memory(void); | ||
23 | extern void lock_ipi_call_lock(void); | ||
24 | extern void unlock_ipi_call_lock(void); | ||
25 | |||
26 | extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *), | 22 | extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *), |
27 | void *info, int wait); | 23 | void *info, int wait); |
28 | 24 | ||