瀏覽代碼

x86: get_bios_ebda() requires asm/io.h

include <asm/io.h> for phys_to_virt()

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Akinobu Mita 17 年之前
父節點
當前提交
2c0903f2ab
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/asm-x86/bios_ebda.h

+ 2 - 0
include/asm-x86/bios_ebda.h

@@ -1,6 +1,8 @@
 #ifndef _MACH_BIOS_EBDA_H
 #ifndef _MACH_BIOS_EBDA_H
 #define _MACH_BIOS_EBDA_H
 #define _MACH_BIOS_EBDA_H
 
 
+#include <asm/io.h>
+
 /*
 /*
  * there is a real-mode segmented pointer pointing to the
  * there is a real-mode segmented pointer pointing to the
  * 4K EBDA area at 0x40E.
  * 4K EBDA area at 0x40E.