Commit 234ff4c5 authored by Helge Deller's avatar Helge Deller

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: default avatarHelge Deller <deller@gmx.de>
Noticed-by: default avatarJohn David Anglin <dave.anglin@bell.net>
parent 5b89966b
...@@ -160,7 +160,7 @@ extern void __update_cache(pte_t pte); ...@@ -160,7 +160,7 @@ extern void __update_cache(pte_t pte);
#define SPACEID_SHIFT (MAX_ADDRBITS - 32) #define SPACEID_SHIFT (MAX_ADDRBITS - 32)
#else #else
#define MAX_ADDRBITS (BITS_PER_LONG) #define MAX_ADDRBITS (BITS_PER_LONG)
#define MAX_ADDRESS (1UL << MAX_ADDRBITS) #define MAX_ADDRESS (1ULL << MAX_ADDRBITS)
#define SPACEID_SHIFT 0 #define SPACEID_SHIFT 0
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment