Skip to content

Commit

Permalink
x86: merge smp_32.h and smp_64.h into smp.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Glauber Costa authored and Ingo Molnar committed Apr 17, 2008
1 parent ecaa6c9 commit 8be9ac8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 29 deletions.
11 changes: 5 additions & 6 deletions include/asm-x86/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down
12 changes: 0 additions & 12 deletions include/asm-x86/smp_32.h

This file was deleted.

11 changes: 0 additions & 11 deletions include/asm-x86/smp_64.h

This file was deleted.

0 comments on commit 8be9ac8

Please sign in to comment.