[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>
This commit is contained in:
12
include/asm-sparc64/sparsemem.h
Normal file
12
include/asm-sparc64/sparsemem.h
Normal file
@@ -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) */
|
Reference in New Issue
Block a user