Commit 42518209 authored by Xu Chenjiao's avatar Xu Chenjiao Committed by guzitao
Browse files

sw64: fix compile errors for NOT chip3

Sunway inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I56QAM



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

IO register DEVINT_WKEN, DEVINTWK_INTEN, PME_ENABLE_INTD_CORE0 and
AER_ENABLE_INTD_CORE0 are only defined in chip3. This will lead to
compile errors if other chip is selected. To avoid these errors, we
define default set_devint_wken() and set_pcieport_service_irq() as
weak symbols.

Signed-off-by: default avatarXu Chenjiao <xuchenjiao@wxiat.com>

Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent 4c651be0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment