Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5965
b: refs/heads/master
c: e231a9c
h: refs/heads/master
i:
  5963: 737facf
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Aug 24, 2005
1 parent 05bf8d2 commit 70d6fe0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 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: 719e5985cf79bb60f4a28816547efd27dde178f5
refs/heads/master: e231a9c4fdf402bcfd5a7c27be49050882631a95
1 change: 1 addition & 0 deletions trunk/arch/m32r/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ extern struct {

/* which physical physical ID maps to which logical CPU number */
static volatile int physid_2_cpu[NR_CPUS];
#define physid_to_cpu(physid) physid_2_cpu[physid]

/* which logical CPU number maps to which physical ID */
volatile int cpu_2_physid[NR_CPUS];
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-m32r/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ extern physid_mask_t phys_cpu_present_map;
* Some lowlevel functions might want to know about
* the real CPU ID <-> CPU # mapping.
*/
extern volatile int physid_2_cpu[NR_CPUS];
extern volatile int cpu_2_physid[NR_CPUS];
#define physid_to_cpu(physid) physid_2_cpu[physid]
#define cpu_to_physid(cpu_id) cpu_2_physid[cpu_id]

#define raw_smp_processor_id() (current_thread_info()->cpu)
Expand Down

0 comments on commit 70d6fe0

Please sign in to comment.