diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-03-08 11:16:07 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 10:14:22 +0100 |
commit | d1112018b4bc82adf5c8a9c15a08954328f023ae (patch) | |
tree | 4d94ef6c153f028cfaaff711cf7d4f07aa90e9b4 /include/asm-sparc64/sparsemem.h | |
parent | [SPARC64]: Fix new context version SMP handling. (diff) | |
download | linux-d1112018b4bc82adf5c8a9c15a08954328f023ae.tar.xz linux-d1112018b4bc82adf5c8a9c15a08954328f023ae.zip |
[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 '')
-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) */ |