Re: [PATCH] cris: migrate exception table users off module.h and onto extable.h

From: Jesper Nilsson
Date: Wed Jan 25 2017 - 05:30:12 EST


On Tue, Jan 24, 2017 at 12:31:49PM -0500, Paul Gortmaker wrote:
> This file was only including module.h for exception table related
> functions. We've now separated that content out into its own file
> "extable.h" so now move over to that and avoid all the extra header
> content in module.h that we don't really need to compile this file.
>
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> Cc: Mikael Starvik <starvik@xxxxxxxx>

Acked-by: Jesper Nilsson <jesper.nilsson@xxxxxxxx>

> Cc: linux-cris-kernel@xxxxxxxx
> Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
> ---
>
> [This is to be added to the other 20 patches of this for-merge series:
> https://lkml.kernel.org/r/20170122163244.11740-1-paul.gortmaker@xxxxxxxxxxxxx
> I didn't want to resend all 20 again just for the addition of a one liner.]

Not a problem, looks good.

> arch/cris/arch-v32/kernel/traps.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/cris/arch-v32/kernel/traps.c b/arch/cris/arch-v32/kernel/traps.c
> index d79666aefd71..ad6174e217c9 100644
> --- a/arch/cris/arch-v32/kernel/traps.c
> +++ b/arch/cris/arch-v32/kernel/traps.c
> @@ -3,7 +3,7 @@
> */
>
> #include <linux/ptrace.h>
> -#include <linux/module.h>
> +#include <linux/extable.h>
> #include <linux/uaccess.h>
> #include <hwregs/supp_reg.h>
> #include <hwregs/intr_vect_defs.h>
> --
> 2.11.0

/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@xxxxxxxx