mmzone.h 364 B

123456789101112131415161718
  1. /*
  2. * Written by Kanoj Sarcar (kanoj@sgi.com) Aug 99
  3. * Rewritten for Linux 2.6 by Christoph Hellwig (hch@lst.de) Jan 2004
  4. */
  5. #ifndef _ASM_MMZONE_H_
  6. #define _ASM_MMZONE_H_
  7. #include <asm/page.h>
  8. #include <mmzone.h>
  9. #ifdef CONFIG_DISCONTIGMEM
  10. #define pfn_to_nid(pfn) pa_to_nid((pfn) << PAGE_SHIFT)
  11. #endif /* CONFIG_DISCONTIGMEM */
  12. #endif /* _ASM_MMZONE_H_ */