提交 b4aa48d2 编写于 作者: G Gu Zitao 提交者: guzitao

sw64: add MIGHT_HAVE_PC_SERIO option to control selection of i8042

Sunway inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I56OLG

--------------------------------

Since using i8042 drivers on sw64 would cause kernel crash, we add
MIGHT_HAVE_PC_SERIO option to control selection of i8042.
Signed-off-by: NGu Zitao <guzitao@wxiat.com>
上级 fa6d14ca
...@@ -14,7 +14,6 @@ config SW64 ...@@ -14,7 +14,6 @@ config SW64
select GENERIC_IRQ_SHOW select GENERIC_IRQ_SHOW
select ARCH_WANT_IPC_PARSE_VERSION select ARCH_WANT_IPC_PARSE_VERSION
select ARCH_HAVE_NMI_SAFE_CMPXCHG select ARCH_HAVE_NMI_SAFE_CMPXCHG
select ARCH_MIGHT_HAVE_PC_SERIO
select ARCH_NO_PREEMPT select ARCH_NO_PREEMPT
select ARCH_USE_CMPXCHG_LOCKREF select ARCH_USE_CMPXCHG_LOCKREF
select GENERIC_SMP_IDLE_THREAD select GENERIC_SMP_IDLE_THREAD
...@@ -241,6 +240,11 @@ config PLATFORM_XUELANG ...@@ -241,6 +240,11 @@ config PLATFORM_XUELANG
endchoice endchoice
config MIGHT_HAVE_PC_SERIO
bool "Use PC serio device i8042"
select ARCH_MIGHT_HAVE_PC_SERIO
default n
endmenu endmenu
config LOCK_MEMB config LOCK_MEMB
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册