Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2861
b: refs/heads/master
c: b159d43
h: refs/heads/master
i:
  2859: f7e3763
v: v3
  • Loading branch information
Andy Whitcroft authored and Linus Torvalds committed Jun 23, 2005
1 parent de91141 commit 7e1bc9f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 368a0a3afad08069b2679ecaff80fc18c10a6e2a
refs/heads/master: b159d43fbf7eaaac6ecc647f51cf4257332db47b
4 changes: 4 additions & 0 deletions trunk/arch/i386/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,10 @@ config HAVE_ARCH_ALLOC_REMAP

source "mm/Kconfig"

config HAVE_ARCH_EARLY_PFN_TO_NID
bool
default y

config HIGHPTE
bool "Allocate 3rd-level pagetables from highmem"
depends on HIGHMEM4G || HIGHMEM64G
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/asm-i386/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,7 @@ static inline void get_memcfg_numa(void)
}

#endif /* CONFIG_DISCONTIGMEM */

extern int early_pfn_to_nid(unsigned long pfn);

#endif /* _ASM_MMZONE_H_ */
4 changes: 4 additions & 0 deletions trunk/include/linux/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,10 @@ extern struct pglist_data contig_page_data;

#endif

#ifndef CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID
#define early_pfn_to_nid(nid) (0UL)
#endif

#endif /* !__ASSEMBLY__ */
#endif /* __KERNEL__ */
#endif /* _LINUX_MMZONE_H */

0 comments on commit 7e1bc9f

Please sign in to comment.