[git pull] vfs.git uaccess.h preparations

From: Al Viro
Date: Tue Oct 11 2016 - 22:29:25 EST


Preparations to tree-wide switch to use of linux/uaccess.h (which,
obviously, will allow to start unifying stuff for real). The last step there
(i.e
PATT='^[[:blank:]]*#[[:blank:]]*include[[:blank:]]*<asm/uaccess.h>'
sed -i -e "s!$PATT!#include <linux/uaccess.h>!" \
`git grep -l "$PATT"|grep -v ^include/linux/uaccess.h`
) is not taken here - I would prefer to do it once just before or just after
-rc1. However, everything should be ready for it.

One really trivial conflict in arch/x86/mm/fault.c update of
comment in my branch vs. update of include in mainline. Typo in the
comment still needs fixing, despite the switch from module.h to
extable.h...

The following changes since commit 3be7988674ab33565700a37b210f502563d932e6:

Linux 4.8-rc7 (2016-09-18 17:27:41 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.uaccess2

for you to fetch changes up to aa7eb9ad32f84ce91a92f5c0196ae7adb5611ac4:

remove a stray reference to asm/uaccess.h in docs (2016-10-05 18:38:40 -0400)

----------------------------------------------------------------
Al Viro (13):
exceptions: detritus removal
frv: move HAVE_ARCH_UNMAPPED_AREA to pgtable.h
mn10300: finish verify_area() off
kill __kernel_ds_p off
bonding: quit messing with IOCTL
xtensa: split uaccess.h into C and asm sides
mn10300: remove a bogus processor.h->uaccess.h include
remove stray include of asm/uaccess.h from cacheflush.h
x86: separate extable.h, switch sections.h to it
mips: separate extable.h, switch module.h to it
score: separate extable.h, switch module.h to it
sparc64: separate extable_64.h, switch elf_64.h to it
remove a stray reference to asm/uaccess.h in docs

Documentation/DocBook/kernel-hacking.tmpl | 2 +-
arch/arm/mm/fault.h | 1 -
arch/frv/include/asm/pgtable.h | 1 +
arch/frv/include/asm/segment.h | 1 -
arch/frv/include/asm/uaccess.h | 2 -
arch/m68k/include/asm/uaccess_no.h | 3 -
arch/microblaze/include/asm/uaccess.h | 3 -
arch/mips/include/asm/extable.h | 13 +++
arch/mips/include/asm/module.h | 2 +-
arch/mips/include/asm/uaccess.h | 9 +-
arch/mips/lasat/picvue_proc.c | 1 +
arch/mn10300/include/asm/processor.h | 1 -
arch/mn10300/include/asm/uaccess.h | 7 --
arch/mn10300/kernel/signal.c | 6 +-
arch/openrisc/include/asm/uaccess.h | 4 -
arch/score/include/asm/extable.h | 11 ++
arch/score/include/asm/module.h | 2 +-
arch/score/include/asm/uaccess.h | 8 +-
arch/sh/include/asm/uaccess.h | 2 -
arch/sparc/include/asm/elf_64.h | 2 +-
arch/sparc/include/asm/extable_64.h | 20 ++++
arch/sparc/include/asm/uaccess_64.h | 18 +---
arch/x86/include/asm/cacheflush.h | 1 -
arch/x86/include/asm/extable.h | 35 +++++++
arch/x86/include/asm/sections.h | 2 +-
arch/x86/include/asm/uaccess.h | 32 +-----
arch/x86/mm/fault.c | 2 +-
arch/xtensa/include/asm/asm-uaccess.h | 160 ++++++++++++++++++++++++++++++
arch/xtensa/include/asm/uaccess.h | 153 ----------------------------
arch/xtensa/kernel/coprocessor.S | 2 +-
arch/xtensa/kernel/entry.S | 2 +-
drivers/char/tb0219.c | 1 +
drivers/net/bonding/bond_main.c | 4 +-
drivers/platform/x86/dell-smo8800.c | 1 +
drivers/video/fbdev/au1200fb.c | 1 +
drivers/watchdog/ath79_wdt.c | 1 +
include/asm-generic/uaccess.h | 4 -
include/net/bonding.h | 12 ---
38 files changed, 262 insertions(+), 270 deletions(-)
create mode 100644 arch/mips/include/asm/extable.h
create mode 100644 arch/score/include/asm/extable.h
create mode 100644 arch/sparc/include/asm/extable_64.h
create mode 100644 arch/x86/include/asm/extable.h
create mode 100644 arch/xtensa/include/asm/asm-uaccess.h