diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-04 21:39:31 -0500 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-04 21:39:31 -0500 |
| commit | c2cc87ca9561ddfe744d446789cc10f507e87db9 (patch) | |
| tree | d505fc0110eb1a3d8750ba2f67648c131f0d9aca /include/asm-powerpc/sparsemem.h | |
| parent | ce1eeb95fc4eb25109c00bea3e83a87eeff6b07d (diff) | |
| parent | 7015faa7df829876a0f931cd18aa6d7c24a1b581 (diff) | |
Merge branch 'master'
Diffstat (limited to 'include/asm-powerpc/sparsemem.h')
| -rw-r--r-- | include/asm-powerpc/sparsemem.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/asm-powerpc/sparsemem.h b/include/asm-powerpc/sparsemem.h new file mode 100644 index 000000000000..1c95ab99deb3 --- /dev/null +++ b/include/asm-powerpc/sparsemem.h | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | #ifndef _ASM_POWERPC_SPARSEMEM_H | ||
| 2 | #define _ASM_POWERPC_SPARSEMEM_H 1 | ||
| 3 | |||
| 4 | #ifdef CONFIG_SPARSEMEM | ||
| 5 | /* | ||
| 6 | * SECTION_SIZE_BITS 2^N: how big each section will be | ||
| 7 | * MAX_PHYSADDR_BITS 2^N: how much physical address space we have | ||
| 8 | * MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space | ||
| 9 | */ | ||
| 10 | #define SECTION_SIZE_BITS 24 | ||
| 11 | #define MAX_PHYSADDR_BITS 38 | ||
| 12 | #define MAX_PHYSMEM_BITS 36 | ||
| 13 | |||
| 14 | #endif /* CONFIG_SPARSEMEM */ | ||
| 15 | |||
| 16 | #endif /* _ASM_POWERPC_SPARSEMEM_H */ | ||
