Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1412647 > unrolled thread

[PATCH] mn10300: Add missing include file to proc-init.c

Started byGuenter Roeck <linux@roeck-us.net>
First post2016-06-03 02:40 +0200
Last post2016-06-04 00:20 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] mn10300: Add missing include file to proc-init.c Guenter Roeck <linux@roeck-us.net> - 2016-06-03 02:40 +0200
    Re: [PATCH] mn10300: Add missing include file to proc-init.c Arnd Bergmann <arnd@arndb.de> - 2016-06-03 14:00 +0200
    Re: [PATCH] mn10300: Add missing include file to proc-init.c Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-06-04 00:20 +0200

#1412647 — [PATCH] mn10300: Add missing include file to proc-init.c

FromGuenter Roeck <linux@roeck-us.net>
Date2016-06-03 02:40 +0200
Subject[PATCH] mn10300: Add missing include file to proc-init.c
Message-ID<rFLjz-4AH-3@gated-at.bofh.it>
mn10300:asb2303_defconfig fails to build as follows.

arch/mn10300/proc-mn103e010/proc-init.c: In function 'processor_init':
arch/mn10300/proc-mn103e010/proc-init.c:59:24: error: 'NR_IRQS' undeclared

Fixes: 4511118b5b44 ("char/genrtc: remove mn10300 support")
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
Applies to next-20160602. Feel free to merge into the original patch.

 arch/mn10300/proc-mn103e010/proc-init.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mn10300/proc-mn103e010/proc-init.c b/arch/mn10300/proc-mn103e010/proc-init.c
index d4dcb0c56b35..94641c420b3f 100644
--- a/arch/mn10300/proc-mn103e010/proc-init.c
+++ b/arch/mn10300/proc-mn103e010/proc-init.c
@@ -11,6 +11,7 @@
 #include <linux/kernel.h>
 #include <asm/cacheflush.h>
 #include <asm/fpu.h>
+#include <asm/irq.h>
 #include <asm/rtc.h>
 #include <asm/busctl-regs.h>
 
-- 
2.5.0

[toc] | [next] | [standalone]


#1413152

FromArnd Bergmann <arnd@arndb.de>
Date2016-06-03 14:00 +0200
Message-ID<rFVVD-2EE-7@gated-at.bofh.it>
In reply to#1412647
On Thursday, June 2, 2016 5:38:28 PM CEST Guenter Roeck wrote:
> mn10300:asb2303_defconfig fails to build as follows.
> 
> arch/mn10300/proc-mn103e010/proc-init.c: In function 'processor_init':
> arch/mn10300/proc-mn103e010/proc-init.c:59:24: error: 'NR_IRQS' undeclared
> 
> Fixes: 4511118b5b44 ("char/genrtc: remove mn10300 support")
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> Applies to next-20160602. Feel free to merge into the original patch.
> 

Thanks for the report.

Acked-by: Arnd Bergmann <arnd@arndb.de>

[toc] | [prev] | [next] | [standalone]


#1413530

FromAlexandre Belloni <alexandre.belloni@free-electrons.com>
Date2016-06-04 00:20 +0200
Message-ID<rG5BF-xM-37@gated-at.bofh.it>
In reply to#1412647
On 02/06/2016 at 17:38:28 -0700, Guenter Roeck wrote :
> mn10300:asb2303_defconfig fails to build as follows.
> 
> arch/mn10300/proc-mn103e010/proc-init.c: In function 'processor_init':
> arch/mn10300/proc-mn103e010/proc-init.c:59:24: error: 'NR_IRQS' undeclared
> 
> Fixes: 4511118b5b44 ("char/genrtc: remove mn10300 support")
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> Applies to next-20160602. Feel free to merge into the original patch.
> 

Squashed in the original patch, thanks!

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web