Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4248
b: refs/heads/master
c: 8ff8b27
h: refs/heads/master
v: v3
  • Loading branch information
Dave Jones authored and Linus Torvalds committed Jul 8, 2005
1 parent 46bfc18 commit 50600cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 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: 3b520b238e018ef0e9d11c9115d5e7d9419c4ef9
refs/heads/master: 8ff8b27bb8ebfd863b49653da1b7bbd8609fcd7e
20 changes: 9 additions & 11 deletions trunk/include/asm-i386/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,15 @@

#include <asm/smp.h>

#if CONFIG_NUMA
#ifdef CONFIG_NUMA
extern struct pglist_data *node_data[];
#define NODE_DATA(nid) (node_data[nid])

#ifdef CONFIG_NUMA
#ifdef CONFIG_X86_NUMAQ
#include <asm/numaq.h>
#else /* summit or generic arch */
#include <asm/srat.h>
#endif
#else /* !CONFIG_NUMA */
#define get_memcfg_numa get_memcfg_numa_flat
#define get_zholes_size(n) (0)
#endif /* CONFIG_NUMA */
#ifdef CONFIG_X86_NUMAQ
#include <asm/numaq.h>
#else /* summit or generic arch */
#include <asm/srat.h>
#endif

extern int get_memcfg_numa_flat(void );
/*
Expand All @@ -42,6 +37,9 @@ static inline void get_memcfg_numa(void)
get_memcfg_numa_flat();
}

#else /* !CONFIG_NUMA */
#define get_memcfg_numa get_memcfg_numa_flat
#define get_zholes_size(n) (0)
#endif /* CONFIG_NUMA */

#ifdef CONFIG_DISCONTIGMEM
Expand Down

0 comments on commit 50600cb

Please sign in to comment.