mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
x86: merge smp_32.h and smp_64.h into smp.h
Merge what's left from smp_32.h and smp_64.h into smp.h By now, they're basically extern definitions. Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
ecaa6c9de7
commit
8be9ac8505
@ -19,6 +19,11 @@
|
||||
#include <asm/thread_info.h>
|
||||
|
||||
extern cpumask_t cpu_callout_map;
|
||||
extern cpumask_t cpu_initialized;
|
||||
extern cpumask_t cpu_callin_map;
|
||||
|
||||
extern void (*mtrr_hook)(void);
|
||||
extern void zap_low_mappings(void);
|
||||
|
||||
extern int smp_num_siblings;
|
||||
extern unsigned int num_processors;
|
||||
@ -161,12 +166,6 @@ extern int safe_smp_processor_id(void);
|
||||
#define stack_smp_processor_id() 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_X86_32
|
||||
# include "smp_32.h"
|
||||
#else
|
||||
# include "smp_64.h"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_X86_LOCAL_APIC
|
||||
|
||||
static inline int logical_smp_processor_id(void)
|
||||
|
@ -1,12 +0,0 @@
|
||||
#ifndef __ASM_SMP_H
|
||||
#define __ASM_SMP_H
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
extern cpumask_t cpu_callin_map;
|
||||
|
||||
extern void (*mtrr_hook)(void);
|
||||
extern void zap_low_mappings(void);
|
||||
|
||||
#endif /* !ASSEMBLY */
|
||||
#endif
|
@ -1,11 +0,0 @@
|
||||
#ifndef __ASM_SMP_H
|
||||
#define __ASM_SMP_H
|
||||
|
||||
extern cpumask_t cpu_initialized;
|
||||
extern cpumask_t cpu_callin_map;
|
||||
|
||||
extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *),
|
||||
void *info, int wait);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user