All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cris: migrate exception table users off module.h and onto extable.h
@ 2017-01-24 17:31 Paul Gortmaker
  2017-01-25 10:29 ` Jesper Nilsson
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Gortmaker @ 2017-01-24 17:31 UTC (permalink / raw)
  To: linux-kernel
  Cc: Paul Gortmaker, Mikael Starvik, Jesper Nilsson, linux-cris-kernel

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@intel.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: linux-cris-kernel@axis.com
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---

[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@windriver.com
 I didn't want to resend all 20 again just for the addition of a one liner.]

 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] cris: migrate exception table users off module.h and onto extable.h
  2017-01-24 17:31 [PATCH] cris: migrate exception table users off module.h and onto extable.h Paul Gortmaker
@ 2017-01-25 10:29 ` Jesper Nilsson
  0 siblings, 0 replies; 4+ messages in thread
From: Jesper Nilsson @ 2017-01-25 10:29 UTC (permalink / raw)
  To: Paul Gortmaker
  Cc: linux-kernel, Mikael Starvik, Jesper Nilsson, linux-cris-kernel

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@intel.com>
> Cc: Mikael Starvik <starvik@axis.com>

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

> Cc: linux-cris-kernel@axis.com
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
> ---
> 
> [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@windriver.com
>  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@axis.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] cris: migrate exception table users off module.h and onto extable.h
  2016-09-19 21:56 Paul Gortmaker
@ 2016-09-23 13:34 ` Jesper Nilsson
  0 siblings, 0 replies; 4+ messages in thread
From: Jesper Nilsson @ 2016-09-23 13:34 UTC (permalink / raw)
  To: Paul Gortmaker
  Cc: linux-kernel, Mikael Starvik, Jesper Nilsson, linux-cris-kernel

On Mon, Sep 19, 2016 at 05:56:54PM -0400, 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.

Thanks, added to cris for-next.

> Cc: Mikael Starvik <starvik@axis.com>
> Cc: Jesper Nilsson <jesper.nilsson@axis.com>
> Cc: linux-cris-kernel@axis.com
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] cris: migrate exception table users off module.h and onto extable.h
@ 2016-09-19 21:56 Paul Gortmaker
  2016-09-23 13:34 ` Jesper Nilsson
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Gortmaker @ 2016-09-19 21:56 UTC (permalink / raw)
  To: linux-kernel
  Cc: Paul Gortmaker, Mikael Starvik, Jesper Nilsson, linux-cris-kernel

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.

Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: linux-cris-kernel@axis.com
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---

[see: https://lkml.org/lkml/2016/7/24/224 for additional context if needed]

 arch/cris/mm/fault.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/cris/mm/fault.c b/arch/cris/mm/fault.c
index 112ef26c7f2e..94183d3639ef 100644
--- a/arch/cris/mm/fault.c
+++ b/arch/cris/mm/fault.c
@@ -6,7 +6,7 @@
 
 #include <linux/mm.h>
 #include <linux/interrupt.h>
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/wait.h>
 #include <linux/uaccess.h>
 #include <arch/system.h>
-- 
2.8.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-25 10:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-24 17:31 [PATCH] cris: migrate exception table users off module.h and onto extable.h Paul Gortmaker
2017-01-25 10:29 ` Jesper Nilsson
  -- strict thread matches above, loose matches on Subject: below --
2016-09-19 21:56 Paul Gortmaker
2016-09-23 13:34 ` Jesper Nilsson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.