diff options
| author | Ralf Baechle <[email protected]> | 2008-09-16 17:48:51 +0000 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2008-10-11 15:18:52 +0000 |
| commit | 384740dc49ea651ba350704d13ff6be9976e37fe (patch) | |
| tree | a6e80cad287ccae7a86d81bfa692fc96889c88ed /arch/mips/include/asm/sparsemem.h | |
| parent | MIPS: Alchemy: rename directory (diff) | |
| download | kernel-384740dc49ea651ba350704d13ff6be9976e37fe.tar.gz kernel-384740dc49ea651ba350704d13ff6be9976e37fe.zip | |
MIPS: Move headfiles to new location below arch/mips/include
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'arch/mips/include/asm/sparsemem.h')
| -rw-r--r-- | arch/mips/include/asm/sparsemem.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/mips/include/asm/sparsemem.h b/arch/mips/include/asm/sparsemem.h new file mode 100644 index 000000000000..795ac6c23203 --- /dev/null +++ b/arch/mips/include/asm/sparsemem.h @@ -0,0 +1,14 @@ +#ifndef _MIPS_SPARSEMEM_H +#define _MIPS_SPARSEMEM_H +#ifdef CONFIG_SPARSEMEM + +/* + * SECTION_SIZE_BITS 2^N: how big each section will be + * MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space + */ +#define SECTION_SIZE_BITS 28 +#define MAX_PHYSMEM_BITS 35 + +#endif /* CONFIG_SPARSEMEM */ +#endif /* _MIPS_SPARSEMEM_H */ + |
