aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/meminit.h
diff options
context:
space:
mode:
authorBob Picco <bob.picco@hp.com>2005-10-04 15:13:50 -0400
committerTony Luck <tony.luck@intel.com>2005-10-04 16:21:13 -0400
commit1be7d9935b9c7fb9bd5964bfaf3ac543381277db (patch)
treefe39c6d9e19fb890812318f5f3b318de6c3afc57 /include/asm-ia64/meminit.h
parentc678796cab4b5288ad578802a54cb1480ae20a08 (diff)
[PATCH] V5 ia64 SPARSEMEM - conditional changes for SPARSEMEM
This patch introduces the conditional changes required for the three memory models. With [patch 1/4] there are three memory models; FLATMEM, DISCONTIG and SPARSEMEM. Also a new arch include file sparemem.h is introduced for defining SPARSEMEM parameters. Signed-off-by: Bob Picco <bob.picco@hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64/meminit.h')
-rw-r--r--include/asm-ia64/meminit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/meminit.h b/include/asm-ia64/meminit.h
index 1590dc65b30b..74477fc31d51 100644
--- a/include/asm-ia64/meminit.h
+++ b/include/asm-ia64/meminit.h
@@ -41,7 +41,7 @@ extern int filter_rsvd_memory (unsigned long start, unsigned long end, void *arg
41#define GRANULEROUNDUP(n) (((n)+IA64_GRANULE_SIZE-1) & ~(IA64_GRANULE_SIZE-1)) 41#define GRANULEROUNDUP(n) (((n)+IA64_GRANULE_SIZE-1) & ~(IA64_GRANULE_SIZE-1))
42#define ORDERROUNDDOWN(n) ((n) & ~((PAGE_SIZE<<MAX_ORDER)-1)) 42#define ORDERROUNDDOWN(n) ((n) & ~((PAGE_SIZE<<MAX_ORDER)-1))
43 43
44#ifdef CONFIG_DISCONTIGMEM 44#ifdef CONFIG_NUMA
45 extern void call_pernode_memory (unsigned long start, unsigned long len, void *func); 45 extern void call_pernode_memory (unsigned long start, unsigned long len, void *func);
46#else 46#else
47# define call_pernode_memory(start, len, func) (*func)(start, len, 0) 47# define call_pernode_memory(start, len, func) (*func)(start, len, 0)