Commit 783ac47c authored by Paul Gortmaker's avatar Paul Gortmaker

x86: efi_32.c is implicitly getting asm/desc.h via module.h

We want to clean up the chain of includes stumbling through
module.h, and when we do that, we'll see:

  CC      arch/x86/platform/efi/efi_32.o
  efi/efi_32.c: In function ‘efi_call_phys_prelog’:
  efi/efi_32.c:80: error: implicit declaration of function ‘get_cpu_gdt_table’
  efi/efi_32.c:82: error: implicit declaration of function ‘load_gdt’
  make[4]: *** [arch/x86/platform/efi/efi_32.o] Error 1

Include asm/desc.h so that there are no implicit include assumptions.
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 7c52d551
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <linux/efi.h> #include <linux/efi.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/desc.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/tlbflush.h> #include <asm/tlbflush.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment