diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-03-08 02:16:07 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 01:14:22 -0800 |
commit | d1112018b4bc82adf5c8a9c15a08954328f023ae (patch) | |
tree | 4d94ef6c153f028cfaaff711cf7d4f07aa90e9b4 /include/asm-sparc64/sparsemem.h | |
parent | ee29074d3bd23848905f52c515974e0cd0219faa (diff) |
[SPARC64]: Move over to sparsemem.
This has been pending for a long time, and the fact
that we waste a ton of ram on some configurations
kind of pushed things over the edge.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64/sparsemem.h')
-rw-r--r-- | include/asm-sparc64/sparsemem.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-sparc64/sparsemem.h b/include/asm-sparc64/sparsemem.h new file mode 100644 index 000000000000..ed5c9d8541e2 --- /dev/null +++ b/include/asm-sparc64/sparsemem.h @@ -0,0 +1,12 @@ +#ifndef _SPARC64_SPARSEMEM_H +#define _SPARC64_SPARSEMEM_H + +#ifdef __KERNEL__ + +#define SECTION_SIZE_BITS 26 +#define MAX_PHYSADDR_BITS 42 +#define MAX_PHYSMEM_BITS 42 + +#endif /* !(__KERNEL__) */ + +#endif /* !(_SPARC64_SPARSEMEM_H) */ |