Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110285
b: refs/heads/master
c: fb26132
h: refs/heads/master
i:
  110283: 202f16e
v: v3
  • Loading branch information
Jaswinder Singh authored and Ingo Molnar committed Jul 22, 2008
1 parent d0df498 commit 5757948
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bbc1f698a508927d21324b57500e863f9bd562b9
refs/heads/master: fb26132b441e75d6ba9996efc29b42081aee0abd
1 change: 1 addition & 0 deletions trunk/arch/x86/kernel/process_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
#include <asm/cpu.h>
#include <asm/kdebug.h>
#include <asm/syscalls.h>
#include <asm/smp.h>

asmlinkage void ret_from_fork(void) __asm__("ret_from_fork");

Expand Down
4 changes: 3 additions & 1 deletion trunk/include/asm-x86/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ extern cpumask_t cpu_initialized;
DECLARE_PER_CPU(cpumask_t, cpu_sibling_map);
DECLARE_PER_CPU(cpumask_t, cpu_core_map);
DECLARE_PER_CPU(u16, cpu_llc_id);
#ifdef CONFIG_X86_32
DECLARE_PER_CPU(int, cpu_number);
#endif

DECLARE_EARLY_PER_CPU(u16, x86_cpu_to_apicid);
DECLARE_EARLY_PER_CPU(u16, x86_bios_cpu_apicid);
Expand Down Expand Up @@ -142,7 +145,6 @@ extern unsigned disabled_cpus __cpuinitdata;
* from the initial startup. We map APIC_BASE very early in page_setup(),
* so this is correct in the x86 case.
*/
DECLARE_PER_CPU(int, cpu_number);
#define raw_smp_processor_id() (x86_read_percpu(cpu_number))
extern int safe_smp_processor_id(void);

Expand Down

0 comments on commit 5757948

Please sign in to comment.