projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb7b435
)
sparc64: Fix inconsistent max-physical-address defines.
author
David S. Miller
<davem@davemloft.net>
Thu, 19 Sep 2013 01:39:25 +0000
(18:39 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 12 Nov 2013 23:22:34 +0000
(15:22 -0800)
Some parts of the code use '41' others use '42', make them
all use the same value.
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Bob Picco <bob.picco@oracle.com>
arch/sparc/include/asm/sparsemem.h
patch
|
blob
|
history
diff --git
a/arch/sparc/include/asm/sparsemem.h
b/arch/sparc/include/asm/sparsemem.h
index
b99d4e4
..
e5e1752
100644
(file)
--- a/
arch/sparc/include/asm/sparsemem.h
+++ b/
arch/sparc/include/asm/sparsemem.h
@@
-3,9
+3,11
@@
#ifdef __KERNEL__
+#include <asm/page.h>
+
#define SECTION_SIZE_BITS 30
-#define MAX_PHYSADDR_BITS
42
-#define MAX_PHYSMEM_BITS
42
+#define MAX_PHYSADDR_BITS
MAX_PHYS_ADDRESS_BITS
+#define MAX_PHYSMEM_BITS
MAX_PHYS_ADDRESS_BITS
#endif /* !(__KERNEL__) */