Commit-ID: 41a34cec2e0df7798ea322ed1480bc3d3facdc8e Gitweb: http://git.kernel.org/tip/41a34cec2e0df7798ea322ed1480bc3d3facdc8e Author: Dave Young <dyoung@xxxxxxxxxx> AuthorDate: Fri, 3 Jan 2014 11:54:31 +0800 Committer: Matt Fleming <matt.fleming@xxxxxxxxx> CommitDate: Fri, 3 Jan 2014 14:37:13 +0000 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] arch/x86/kernel/ksysfs.c:86:3: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration] Fix it by including <asm/io.h> in ksysfs.c Signed-off-by: Dave Young <dyoung@xxxxxxxxxx> Signed-off-by: Matt Fleming <matt.fleming@xxxxxxxxx> --- arch/x86/kernel/ksysfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/ksysfs.c b/arch/x86/kernel/ksysfs.c index eb53d15..c2bedae 100644 --- a/arch/x86/kernel/ksysfs.c +++ b/arch/x86/kernel/ksysfs.c @@ -17,6 +17,7 @@ #include <linux/slab.h> #include <linux/mm.h> +#include <asm/io.h> #include <asm/setup.h> static ssize_t version_show(struct kobject *kobj, -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |