Skip to content

Commit 234ff4c

Browse files
committed
parisc: Change MAX_ADDRESS to become unsigned long long
Dave noticed that for the 32-bit kernel MAX_ADDRESS should be a ULL, otherwise this define would become 0: MAX_ADDRESS (1UL << MAX_ADDRBITS) It has no real effect on the kernel. Signed-off-by: Helge Deller <deller@gmx.de> Noticed-by: John David Anglin <dave.anglin@bell.net>
1 parent 5b89966 commit 234ff4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/parisc/include/asm/pgtable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ extern void __update_cache(pte_t pte);
160160
#define SPACEID_SHIFT (MAX_ADDRBITS - 32)
161161
#else
162162
#define MAX_ADDRBITS (BITS_PER_LONG)
163-
#define MAX_ADDRESS (1UL << MAX_ADDRBITS)
163+
#define MAX_ADDRESS (1ULL << MAX_ADDRBITS)
164164
#define SPACEID_SHIFT 0
165165
#endif
166166

0 commit comments

Comments
 (0)