sparsemem.h 460 B

12345678910111213141516
  1. #ifndef _ASM_PPC64_SPARSEMEM_H
  2. #define _ASM_PPC64_SPARSEMEM_H 1
  3. #ifdef CONFIG_SPARSEMEM
  4. /*
  5. * SECTION_SIZE_BITS 2^N: how big each section will be
  6. * MAX_PHYSADDR_BITS 2^N: how much physical address space we have
  7. * MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space
  8. */
  9. #define SECTION_SIZE_BITS 24
  10. #define MAX_PHYSADDR_BITS 38
  11. #define MAX_PHYSMEM_BITS 36
  12. #endif /* CONFIG_SPARSEMEM */
  13. #endif /* _ASM_PPC64_SPARSEMEM_H */