diff options
author | Luis R. Rodriguez <mcgrof@kernel.org> | 2015-12-04 15:51:16 -0800 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@kernel.org> | 2016-02-11 08:42:16 -0800 |
commit | 682f59a95a7bd91ec30fc63548e9a919bb20bded (patch) | |
tree | af11629dbce4aac6a6dd8bbb51a75594aded6c34 | |
parent | c172012d455658f63de64e13a19358322609dfed (diff) | |
download | linker-tables-682f59a95a7bd91ec30fc63548e9a919bb20bded.tar.gz |
setup.h: add missing header
init.c now compiles as-is on Linux.
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
-rw-r--r-- | arch/x86/include/asm/setup.h | 6 | ||||
-rw-r--r-- | arch/x86/kernel/init.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/include/asm/setup.h b/arch/x86/include/asm/setup.h new file mode 100644 index 0000000..366c36b --- /dev/null +++ b/arch/x86/include/asm/setup.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_X86_USER_SETUP_H +#define __LINUX_X86_USER_SETUP_H + +/* I'm lazy */ + +#endif /* __LINUX_X86_USER_SETUP_H */ diff --git a/arch/x86/kernel/init.c b/arch/x86/kernel/init.c index d76f60a..a2273f0 100644 --- a/arch/x86/kernel/init.c +++ b/arch/x86/kernel/init.c @@ -4,6 +4,7 @@ #include <asm/x86_init_fn.h> #include <asm/bootparam.h> #include <asm/boot.h> +#include <asm/setup.h> static bool x86_init_fn_supports_subarch(struct x86_init_fn *fn) { |