summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/hash_utils_64.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-09-19 18:46:43 +0200
committerTakashi Iwai <tiwai@suse.de>2013-09-19 18:46:43 +0200
commit43cdd088b1b10306d4eb6d9208b62c7f60abffeb (patch)
tree8dd799379a241c1b47b736299c306eb77f06e6ff /arch/powerpc/mm/hash_utils_64.c
parentbf69aa906ccddacc9e966794869431374953738a (diff)
parent4028b6c4c03f213260e9290ff3a6b5439aad07ce (diff)
downloadop-kernel-dev-43cdd088b1b10306d4eb6d9208b62c7f60abffeb.zip
op-kernel-dev-43cdd088b1b10306d4eb6d9208b62c7f60abffeb.tar.gz
Merge branch 'for-linus' into for-next
Diffstat (limited to 'arch/powerpc/mm/hash_utils_64.c')
-rw-r--r--arch/powerpc/mm/hash_utils_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c
index 6ecc38b..bde8b55 100644
--- a/arch/powerpc/mm/hash_utils_64.c
+++ b/arch/powerpc/mm/hash_utils_64.c
@@ -907,7 +907,7 @@ static int subpage_protection(struct mm_struct *mm, unsigned long ea)
if (ea >= spt->maxaddr)
return 0;
- if (ea < 0x100000000) {
+ if (ea < 0x100000000UL) {
/* addresses below 4GB use spt->low_prot */
sbpm = spt->low_prot;
} else {
OpenPOWER on IntegriCloud