[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20140103035431.GA5259@darkstar.nay.redhat.com>
Date: Fri, 3 Jan 2014 11:54:31 +0800
From: Dave Young <dyoung@...hat.com>
To: matt@...sole-pimps.org, hpa@...or.com, mingo@...nel.org,
linux-kernel@...r.kernel.org, x86@...nel.org,
kexec@...ts.infradead.org
Subject: [PATCH tip/efi-kexec] x86: ksysfs.c build fix
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@...hat.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>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists