diff options
author | David S. Miller <davem@davemloft.net> | 2014-10-24 09:59:02 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-30 09:40:21 -0700 |
commit | 2a545829b9991872f19176f4e6eb1261695524fc (patch) | |
tree | b72fccad7bd19737fbe82103aeda1014e11f3129 /fs/jffs2/ioctl.c | |
parent | e81ef812f68862ab4818d34bfab4fdb2edcb242e (diff) |
sparc64: Implement __get_user_pages_fast().
[ Upstream commit 06090e8ed89ea2113a236befb41f71d51f100e60 ]
It is not sufficient to only implement get_user_pages_fast(), you
must also implement the atomic version __get_user_pages_fast()
otherwise you end up using the weak symbol fallback implementation
which simply returns zero.
This is dangerous, because it causes the futex code to loop forever
if transparent hugepages are supported (see get_futex_key()).
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/jffs2/ioctl.c')
0 files changed, 0 insertions, 0 deletions