Commit 628506c8 authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hpa/linux-2.6-x86setup

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hpa/linux-2.6-x86setup:
  [x86 setup] Document grub < 0.93 as broken
  [x86 setup] EDD: add missing =m constraint
  [x86 setup] video setup: Fix VBE DDC reading
parents 370504cf c3887cd7
...@@ -45,6 +45,7 @@ o nfs-utils 1.0.5 # showmount --version ...@@ -45,6 +45,7 @@ o nfs-utils 1.0.5 # showmount --version
o procps 3.2.0 # ps --version o procps 3.2.0 # ps --version
o oprofile 0.9 # oprofiled --version o oprofile 0.9 # oprofiled --version
o udev 081 # udevinfo -V o udev 081 # udevinfo -V
o grub 0.93 # grub --version
Kernel compilation Kernel compilation
================== ==================
......
...@@ -127,7 +127,7 @@ static int get_edd_info(u8 devno, struct edd_info *ei) ...@@ -127,7 +127,7 @@ static int get_edd_info(u8 devno, struct edd_info *ei)
ax = 0x4800; ax = 0x4800;
dx = devno; dx = devno;
asm("pushfl; int $0x13; popfl" asm("pushfl; int $0x13; popfl"
: "+a" (ax), "+d" (dx) : "+a" (ax), "+d" (dx), "=m" (ei->params)
: "S" (&ei->params) : "S" (&ei->params)
: "ebx", "ecx", "edi"); : "ebx", "ecx", "edi");
......
...@@ -268,7 +268,7 @@ void vesa_store_edid(void) ...@@ -268,7 +268,7 @@ void vesa_store_edid(void)
dx = 0; /* EDID block number */ dx = 0; /* EDID block number */
di =(size_t) &boot_params.edid_info; /* (ES:)Pointer to block */ di =(size_t) &boot_params.edid_info; /* (ES:)Pointer to block */
asm(INT10 asm(INT10
: "+a" (ax), "+b" (bx), "+d" (dx) : "+a" (ax), "+b" (bx), "+d" (dx), "=m" (boot_params.edid_info)
: "c" (cx), "D" (di) : "c" (cx), "D" (di)
: "esi"); : "esi");
#endif /* CONFIG_FIRMWARE_EDID */ #endif /* CONFIG_FIRMWARE_EDID */
......
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