ia64: move ia64_done_with_exception out of asm/uaccess.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 19 Sep 2016 22:28:25 +0000 (18:28 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 24 Jan 2017 17:41:45 +0000 (12:41 -0500)
commit82ed1ac9c2628d72c6699fae4448b72599df2f51
tree17c7f5a356e3980523be519e0a6ed9b11d65e59b
parent7a308bb3016f57e5be11a677d15b821536419d36
ia64: move ia64_done_with_exception out of asm/uaccess.h

Move ia64_done_with_exception out of asm/uaccess.h (which is widely
used) and into asm/exception.h (like ARM has) and then ensure the
few callers of it include this new header.

Most of the other C content in asm files is implemented in macro form.
So we do that conversion at the same time as the move.

There are two C exception prototypes that move along with the macro.
One of them will become redundant when we switch over to using the
<linux/extable.h> instead of <linux/module.h> header in a subsequent
commit.

Also relocate a couple of the automated asm --> linux uaccess
conversions to preserve the linux and asm independent grouping, since
we are in the file at that location anyway.

Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: linux-ia64@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/ia64/include/asm/exception.h [new file with mode: 0644]
arch/ia64/include/asm/uaccess.h
arch/ia64/kernel/kprobes.c
arch/ia64/kernel/traps.c
arch/ia64/kernel/unaligned.c
arch/ia64/mm/fault.c