aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/sparsemem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/sparsemem.h')
-rw-r--r--include/asm-sparc/sparsemem.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-sparc/sparsemem.h b/include/asm-sparc/sparsemem.h
new file mode 100644
index 000000000000..b99d4e4b6d28
--- /dev/null
+++ b/include/asm-sparc/sparsemem.h
@@ -0,0 +1,12 @@
1#ifndef _SPARC64_SPARSEMEM_H
2#define _SPARC64_SPARSEMEM_H
3
4#ifdef __KERNEL__
5
6#define SECTION_SIZE_BITS 30
7#define MAX_PHYSADDR_BITS 42
8#define MAX_PHYSMEM_BITS 42
9
10#endif /* !(__KERNEL__) */
11
12#endif /* !(_SPARC64_SPARSEMEM_H) */