All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH tip/efi-kexec] x86: ksysfs.c build fix
@ 2014-01-03  3:54 ` Dave Young
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Young @ 2014-01-03  3:54 UTC (permalink / raw)
  To: matt, hpa, mingo, linux-kernel, x86, kexec

kbuild test robot report below error for randconfig:

   arch/x86/kernel/ksysfs.c: In function 'get_setup_data_paddr':
>> arch/x86/kernel/ksysfs.c:81:3: error: implicit declaration of function 'ioremap_cache' [-Werror=implicit-function-declaration]
      data = ioremap_cache(pa_data, sizeof(*data));
      ^
>> arch/x86/kernel/ksysfs.c:86:3: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
      iounmap(data);
      ^
Fix it by including <asm/io.h> in ksysfs.c

Signed-off-by: Dave Young <dyoung@redhat.com>
---
 arch/x86/kernel/ksysfs.c |    1 +
 1 file changed, 1 insertion(+)

Index: linux/arch/x86/kernel/ksysfs.c
===================================================================
--- linux.orig/arch/x86/kernel/ksysfs.c
+++ linux/arch/x86/kernel/ksysfs.c
@@ -16,6 +16,7 @@
 #include <linux/stat.h>
 #include <linux/slab.h>
 #include <linux/mm.h>
+#include <asm/io.h>
 
 #include <asm/setup.h>
 

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

* [PATCH tip/efi-kexec] x86: ksysfs.c build fix
@ 2014-01-03  3:54 ` Dave Young
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Young @ 2014-01-03  3:54 UTC (permalink / raw)
  To: matt, hpa, mingo, linux-kernel, x86, kexec

kbuild test robot report below error for randconfig:

   arch/x86/kernel/ksysfs.c: In function 'get_setup_data_paddr':
>> arch/x86/kernel/ksysfs.c:81:3: error: implicit declaration of function 'ioremap_cache' [-Werror=implicit-function-declaration]
      data = ioremap_cache(pa_data, sizeof(*data));
      ^
>> arch/x86/kernel/ksysfs.c:86:3: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
      iounmap(data);
      ^
Fix it by including <asm/io.h> in ksysfs.c

Signed-off-by: Dave Young <dyoung@redhat.com>
---
 arch/x86/kernel/ksysfs.c |    1 +
 1 file changed, 1 insertion(+)

Index: linux/arch/x86/kernel/ksysfs.c
===================================================================
--- linux.orig/arch/x86/kernel/ksysfs.c
+++ linux/arch/x86/kernel/ksysfs.c
@@ -16,6 +16,7 @@
 #include <linux/stat.h>
 #include <linux/slab.h>
 #include <linux/mm.h>
+#include <asm/io.h>
 
 #include <asm/setup.h>
 

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

end of thread, other threads:[~2014-01-03  3:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-03  3:54 [PATCH tip/efi-kexec] x86: ksysfs.c build fix Dave Young
2014-01-03  3:54 ` Dave Young

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.