mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 05:56:38 +07:00
b13b3f51ff
When building for non-MMU based classic 68k CPU types (like the 68328 for example) you get a compilation error: CC arch/m68k/kernel/time.o arch/m68k/kernel/time.c:91:5: error: redefinition of ‘arch_gettimeoffset’ include/linux/time.h:145:19: note: previous definition of ‘arch_gettimeoffset’ was here The arch_gettimeoffset() code is included when building for these CPU types, but it shouldn't be. Those machine types do not have CONFIG_ARCH_USES_GETTIMEOFFSET set. The fix is simply to conditionally include the arch_gettimeoffset() code on that same config setting that specifies its use or not. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> |
||
---|---|---|
.. | ||
.gitignore | ||
asm-offsets.c | ||
dma.c | ||
entry_mm.S | ||
entry_no.S | ||
entry.S | ||
head.S | ||
ints.c | ||
irq.c | ||
m68k_ksyms.c | ||
Makefile | ||
module.c | ||
module.lds | ||
process.c | ||
ptrace.c | ||
setup_mm.c | ||
setup_no.c | ||
setup.c | ||
signal.c | ||
sun3-head.S | ||
sys_m68k.c | ||
syscalltable.S | ||
time.c | ||
traps.c | ||
vectors.c | ||
vmlinux-nommu.lds | ||
vmlinux-std.lds | ||
vmlinux-sun3.lds | ||
vmlinux.lds.S |