Commit 6525d9e5 authored by Gu Zitao's avatar Gu Zitao Committed by guzitao
Browse files

sw64: fix compile errors

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



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

Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
Reviewed-by: default avatarHe Sheng <hesheng@wxiat.com>
Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent dc50b4b2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ config SW64
	select DMA_OPS if PCI
	select GENERIC_ARCH_TOPOLOGY
	select GENERIC_CLOCKEVENTS
	select GENERIC_CPU_DEVICES
	select GENERIC_GETTIMEOFDAY if HAVE_GENERIC_VDSO
	select GENERIC_IRQ_LEGACY
	select GENERIC_IRQ_MIGRATION if SMP
+0 −1
Original line number Diff line number Diff line
@@ -40,7 +40,6 @@
#endif

DEFINE_PER_CPU(unsigned long, hard_node_id) = { 0 };
static DEFINE_PER_CPU(struct cpu, cpu_devices);

static inline int phys_addr_valid(unsigned long addr)
{