The patch titled
     wistron_btns: add support for X86_64 systems
has been removed from the -mm tree.  Its filename was
     wistron_btns-add-support-for-x86_64-systems.patch

This patch was dropped because it was nacked

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: wistron_btns: add support for X86_64 systems
From: Remi Herilier <[EMAIL PROTECTED]>

Wistron button support for X86_64 systems.

Signed-off-by: Remi Herilier <[EMAIL PROTECTED]>
Cc: Dmitry Torokhov <[EMAIL PROTECTED]>
Cc: Jiri Kosina <[EMAIL PROTECTED]>
Cc: Miloslav Trmac <[EMAIL PROTECTED]>
Cc: Andi Kleen <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/input/misc/Kconfig        |    2 +-
 drivers/input/misc/wistron_btns.c |    8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff -puN 
drivers/input/misc/Kconfig~wistron_btns-add-support-for-x86_64-systems 
drivers/input/misc/Kconfig
--- a/drivers/input/misc/Kconfig~wistron_btns-add-support-for-x86_64-systems
+++ a/drivers/input/misc/Kconfig
@@ -78,7 +78,7 @@ config INPUT_COBALT_BTNS
 
 config INPUT_WISTRON_BTNS
        tristate "x86 Wistron laptop button interface"
-       depends on X86 && !X86_64
+       depends on X86
        select INPUT_POLLDEV
        select NEW_LEDS
        select LEDS_CLASS
diff -puN 
drivers/input/misc/wistron_btns.c~wistron_btns-add-support-for-x86_64-systems 
drivers/input/misc/wistron_btns.c
--- 
a/drivers/input/misc/wistron_btns.c~wistron_btns-add-support-for-x86_64-systems
+++ a/drivers/input/misc/wistron_btns.c
@@ -74,10 +74,18 @@ static void call_bios(struct regs *regs)
 
        preempt_disable();
        local_irq_save(flags);
+#ifdef CONFIG_X86_64
+       asm volatile ("pushq %%rbp;"
+#else
        asm volatile ("pushl %%ebp;"
+#endif
                      "movl %7, %%ebp;"
                      "call *%6;"
+#ifdef CONFIG_X86_64
+                     "popq %%rbp"
+#else
                      "popl %%ebp"
+#endif
                      : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx)
                      : "0" (regs->eax), "1" (regs->ebx), "2" (regs->ecx),
                        "m" (bios_entry_point), "m" (bios_data_map_base)
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

wistron_btns-add-support-for-x86_64-systems.patch
wistron_btns-add-support-for-fujitsu-siemens-amilo-pro-edition-v3505.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to