sparsemem.h 410 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_ALPHA_SPARSEMEM_H
  3. #define _ASM_ALPHA_SPARSEMEM_H
  4. #ifdef CONFIG_SPARSEMEM
  5. #define SECTION_SIZE_BITS 27
  6. /*
  7. * According to "Alpha Architecture Reference Manual" physical
  8. * addresses are at most 48 bits.
  9. * https://download.majix.org/dec/alpha_arch_ref.pdf
  10. */
  11. #define MAX_PHYSMEM_BITS 48
  12. #endif /* CONFIG_SPARSEMEM */
  13. #endif /* _ASM_ALPHA_SPARSEMEM_H */