summaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
authorWu Zhangjin <wuzhangjin@gmail.com>2009-11-21 19:05:24 +0800
committerRalf Baechle <ralf@linux-mips.org>2009-12-17 01:57:28 +0000
commitcb1ed9e117098269de3c0dfff816dff453dd4b59 (patch)
tree918d2eec2f59ca418e395d44b95881951a4dddab /arch/mips/include
parentec614d80b58677de30b876a16fdd3fde85bebdc1 (diff)
downloadblackbird-op-linux-cb1ed9e117098269de3c0dfff816dff453dd4b59.tar.gz
blackbird-op-linux-cb1ed9e117098269de3c0dfff816dff453dd4b59.zip
MIPS: Yeeloong 2F: Add LID open event as the wakeup event
Yeeloong 2F netbook has an KB3310B embedded controller to manage the LID action. When the LID is closed or opened a SCI interrupt is sent out and the corresponding event is saved to an EC register for later query. Allow the LID open interrupt to wake the processor from wait mode if it is in the suspend mode. Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/685/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/mach-loongson/loongson.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-loongson/loongson.h b/arch/mips/include/asm/mach-loongson/loongson.h
index a7fa66e85988..06c28f387116 100644
--- a/arch/mips/include/asm/mach-loongson/loongson.h
+++ b/arch/mips/include/asm/mach-loongson/loongson.h
@@ -41,6 +41,7 @@ extern void __init bonito_irq_init(void);
extern void __init set_irq_trigger_mode(void);
extern void __init mach_init_irq(void);
extern void mach_irq_dispatch(unsigned int pending);
+extern int mach_i8259_irq(void);
/* We need this in some places... */
#define delay() ({ \
OpenPOWER on IntegriCloud