Commit 4df628e9 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] fix cpq asm

Somewhat happier in gcc 3.2 this way
parent 37ab5e1c
...@@ -177,12 +177,12 @@ static u32 access_EV (u16 operation, u8 *ev_name, u8 *buffer, u32 *buf_size) ...@@ -177,12 +177,12 @@ static u32 access_EV (u16 operation, u8 *ev_name, u8 *buffer, u32 *buf_size)
spin_lock_irqsave(&int15_lock, flags); spin_lock_irqsave(&int15_lock, flags);
__asm__ ( __asm__ (
"xorl %%ebx,%%ebx "xorl %%ebx,%%ebx\n" \
xorl %%edx,%%edx "xorl %%edx,%%edx\n" \
pushf "pushf\n" \
push %%cs "push %%cs\n" \
cli "cli\n" \
call *%6" "call *%6\n"
: "=c" (*buf_size), "=a" (ret_val) : "=c" (*buf_size), "=a" (ret_val)
: "a" (op), "c" (*buf_size), "S" (ev_name), : "a" (op), "c" (*buf_size), "S" (ev_name),
"D" (buffer), "m" (compaq_int15_entry_point) "D" (buffer), "m" (compaq_int15_entry_point)
......
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