summaryrefslogtreecommitdiff
path: root/crypto/blowfish.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2006-12-21 22:23:03 (GMT)
committerPaul Mackerras <paulus@samba.org>2007-01-09 06:03:01 (GMT)
commit6aa3e1e9447134ccda8b04b91c4ba8182274a78e (patch)
treeda637c9a708b93bcacc4f4284fba5cc2190c996f /crypto/blowfish.c
parentefa06708fe77190f31bed5c3cb5da49e211240f5 (diff)
downloadlinux-fsl-qoriq-6aa3e1e9447134ccda8b04b91c4ba8182274a78e.tar.xz
[POWERPC] Fix bogus BUG_ON() in in hugetlb_get_unmapped_area()
The powerpc specific version of hugetlb_get_unmapped_area() makes some unwarranted assumptions about what checks have been made to its parameters by its callers. This will lead to a BUG_ON() if a 32-bit process attempts to make a hugepage mapping which extends above TASK_SIZE (4GB). I'm not sure if these assumptions came about because they were valid with earlier versions of the get_unmapped_area() path, or if it was always broken. Nonetheless this patch fixes the logic, and removes the crash. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'crypto/blowfish.c')
0 files changed, 0 insertions, 0 deletions