Skip to content

Commit

Permalink
[IA64] Fix pfn_to_nid() so the kernel compiles again for !CONFIG_DISC…
Browse files Browse the repository at this point in the history
…ONTIGMEM.

Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
David Mosberger-Tang authored and Tony Luck committed Jun 23, 2005
1 parent a8ad86f commit e608a80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-ia64/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include <asm/page.h>
#include <asm/meminit.h>

#ifdef CONFIG_DISCONTIGMEM

static inline int pfn_to_nid(unsigned long pfn)
{
#ifdef CONFIG_NUMA
Expand All @@ -29,8 +31,6 @@ static inline int pfn_to_nid(unsigned long pfn)
#endif
}

#ifdef CONFIG_DISCONTIGMEM

#ifdef CONFIG_IA64_DIG /* DIG systems are small */
# define MAX_PHYSNODE_ID 8
# define NR_NODE_MEMBLKS (MAX_NUMNODES * 8)
Expand Down

0 comments on commit e608a80

Please sign in to comment.