]> Devoid-pointer.net GitWeb - omnibook.git/commitdiff
* Make nbsmi compile with kernels using frame pointer
authorMathieu Bérard <mathieu.berard@crans.org>
Sat, 9 Sep 2006 13:06:34 +0000 (13:06 +0000)
committerMathieu Bérard <mathieu.berard@crans.org>
Sat, 9 Sep 2006 13:06:34 +0000 (13:06 +0000)
nbsmi.c

diff --git a/nbsmi.c b/nbsmi.c
index 0e3bdbc7376158d63b6a814b718bc9b345976913..e6f1c562e555c0e06747b52f021f6a9184c39873 100644 (file)
--- a/nbsmi.c
+++ b/nbsmi.c
@@ -101,7 +101,7 @@ static inline void restore_all_regs_flag(void)
        __asm__ __volatile__("popfl; popal"
                             :
                             : 
-                            : "eax", "ecx", "edx", "ebx", "esp", "ebp", "esi", "edi");
+                            : "eax", "ecx", "edx", "ebx", "esp", "esi", "edi");
        spin_unlock_irq(&smi_spinlock); 
 }