Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99789
b: refs/heads/master
c: 5deb0b2
h: refs/heads/master
i:
  99787: 093d762
v: v3
  • Loading branch information
Mike Travis authored and Ingo Molnar committed Jul 8, 2008
1 parent 65e7de5 commit 6e0a502
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 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: 3461b0af025251bbc6b3d56c821c6ac2de6f7209
refs/heads/master: 5deb0b2a25b7b568ab81f7c38052572ecf4ccc96
10 changes: 3 additions & 7 deletions trunk/arch/x86/kernel/head64.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,13 @@
static struct x8664_pda _boot_cpu_pda __read_mostly;

#ifdef CONFIG_SMP
#ifdef CONFIG_DEBUG_PER_CPU_MAPS
/*
* We install an empty cpu_pda pointer table to trap references before
* the actual cpu_pda pointer table is created in setup_cpu_pda_map().
* We install an empty cpu_pda pointer table to indicate to early users
* (numa_set_node) that the cpu_pda pointer table for cpus other than
* the boot cpu is not yet setup.
*/
static struct x8664_pda *__cpu_pda[NR_CPUS] __initdata;
#else
static struct x8664_pda *__cpu_pda[1] __read_mostly;
#endif

#else /* !CONFIG_SMP (NR_CPUS will be 1) */
static struct x8664_pda *__cpu_pda[NR_CPUS] __read_mostly;
#endif

Expand Down

0 comments on commit 6e0a502

Please sign in to comment.