git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
include
/
asm-ppc64
/
mmzone.h
diff --git
a/include/asm-ppc64/mmzone.h
b/include/asm-ppc64/mmzone.h
index
6903024
..
0619a41
100644
(file)
--- a/
include/asm-ppc64/mmzone.h
+++ b/
include/asm-ppc64/mmzone.h
@@
-12,7
+12,7
@@
#ifdef CONFIG_DISCONTIGMEM
#ifdef CONFIG_DISCONTIGMEM
-extern struct pglist_data node_data[];
+extern struct pglist_data
*
node_data[];
/*
* Following are specific to this numa platform.
/*
* Following are specific to this numa platform.
@@
-52,7
+52,7
@@
static inline int pa_to_nid(unsigned long pa)
/*
* Return a pointer to the node data for node n.
*/
/*
* Return a pointer to the node data for node n.
*/
-#define NODE_DATA(nid) (
&
node_data[nid])
+#define NODE_DATA(nid) (node_data[nid])
#define node_localnr(pfn, nid) ((pfn) - NODE_DATA(nid)->node_start_pfn)
#define node_localnr(pfn, nid) ((pfn) - NODE_DATA(nid)->node_start_pfn)