Linux: Include linux/uaccess.h rather than asm/uaccess.h if present 14/12714/3
authorSeth Forshee <seth.forshee@canonical.com>
Tue, 22 Aug 2017 12:59:11 +0000 (07:59 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Tue, 29 Aug 2017 03:04:18 +0000 (23:04 -0400)
commit962f4838dc461567d896304f617a0923745d13d5
tree77d519b1a3e37e14d01e5603d7619910ddb0cae3
parente739eaa650ee30dcce54d05908b062839eafbf73
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.

Change-Id: Iaab0d7652483a2a2b1f144f3e90b6d3b902c146d
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>
acinclude.m4
src/afs/LINUX/osi_machdep.h
src/afs/sysincludes.h
src/rx/LINUX/rx_knet.c