diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-18 16:39:12 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-02-18 16:39:12 -0800 |
| commit | a0d3ab68294a9bf617e85cfff9490897e2370db1 (patch) | |
| tree | 722ba1fb3f808d00fdd2622f552c3d9871c418e7 /include/linux | |
| parent | 766e012ad6da18cd940874bcf3afe38574b8916a (diff) | |
[PATCH] ia32: pfn_to_nid fix
From: "Martin J. Bligh" <mbligh@aracnet.com>
Makes sure pfn_to_nid is defined for all combinations of subarches, and that
it's defined before it's used so we don't run into implicit declaration
problems.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mmzone.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 179f51f29f78..1cbccb4d226f 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -304,6 +304,7 @@ extern struct pglist_data contig_page_data; #define NODE_DATA(nid) (&contig_page_data) #define NODE_MEM_MAP(nid) mem_map #define MAX_NODES_SHIFT 1 +#define pfn_to_nid(pfn) (0) #else /* CONFIG_DISCONTIGMEM */ |
