Skip to content

Commit

Permalink
sparc64: Fix inconsistent max-physical-address defines.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Nov 12, 2013
1 parent bb7b435 commit f998c9c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arch/sparc/include/asm/sparsemem.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__) */

Expand Down

0 comments on commit f998c9c

Please sign in to comment.