]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86: efi_32.c is implicitly getting asm/desc.h via module.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 18:46:07 +0000 (14:46 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 27 Jul 2011 23:09:10 +0000 (19:09 -0400)
commitc1c1950176d5059358e8a948a065525e22afa660
tree6fcf2c5688987253bb4ed5e52a6c3aa8e2b80cb6
parent45a47f67f42af2ec21e563959552af236579ad85
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: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/x86/platform/efi/efi_32.c