]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Linux: Include linux/uaccess.h rather than asm/uaccess.h if present
authorSeth Forshee <seth.forshee@canonical.com>
Tue, 22 Aug 2017 12:59:11 +0000 (07:59 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Wed, 30 Aug 2017 15:45:59 +0000 (11:45 -0400)
commit7073408688da021864bba59c592e8924e05adb91
treed8243dc5e2dc4d07a6d1e6cba62e286705b56066
parenta3812407f28439bb69f052f0115171cdf04927da
Linux: Include linux/uaccess.h rather than asm/uaccess.h if present

Starting with Linux 4.12 there is a module build error on s390
due to asm/uaccess.h using a macro defined in the common header.
The common header has been around since 2.6.18 and has always
included asm/uaccess.h, so switch to using the common header
whenever it is present.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Reviewed-on: https://gerrit.openafs.org/12714
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit 962f4838dc461567d896304f617a0923745d13d5)

Change-Id: I5a7834b982458159804bc4d940e39ef283253299
Reviewed-on: https://gerrit.openafs.org/12718
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
acinclude.m4
src/afs/LINUX/osi_machdep.h
src/afs/sysincludes.h
src/rx/LINUX/rx_knet.c