diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2016-09-20 00:28:25 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2017-01-24 18:41:45 +0100 |
commit | 82ed1ac9c2628d72c6699fae4448b72599df2f51 (patch) | |
tree | 17c7f5a356e3980523be519e0a6ed9b11d65e59b /arch/ia64/mm/fault.c | |
parent | Linux 4.10-rc5 (diff) | |
download | linux-82ed1ac9c2628d72c6699fae4448b72599df2f51.tar.xz linux-82ed1ac9c2628d72c6699fae4448b72599df2f51.zip |
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>
Diffstat (limited to 'arch/ia64/mm/fault.c')
-rw-r--r-- | arch/ia64/mm/fault.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/mm/fault.c b/arch/ia64/mm/fault.c index fa6ad95e992e..52b41dad9704 100644 --- a/arch/ia64/mm/fault.c +++ b/arch/ia64/mm/fault.c @@ -15,6 +15,7 @@ #include <asm/pgtable.h> #include <asm/processor.h> +#include <asm/exception.h> extern int die(char *, struct pt_regs *, long); |