linux_dsm_epyc7002/arch/m68k/kernel
Greg Ungerer b13b3f51ff m68k: fix inclusion of arch_gettimeoffset for non-MMU 68k classic CPU types
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>
2012-06-12 11:58:26 +10:00
..
.gitignore m68k: Add vmlinux.lds to .gitignore 2009-01-12 20:56:32 +01:00
asm-offsets.c m68k: remove thread_info struct from thread struct 2011-12-24 21:47:56 +10:00
dma.c m68k: merge the MMU and non-MMU versions of the arch dma code 2012-05-20 21:22:56 +10:00
entry_mm.S m68k: add TIF_NOTIFY_RESUME and handle it. 2012-05-21 23:59:47 -04:00
entry_no.S m68k: set register a2 to current if MMU enabled on ColdFire 2011-12-30 10:20:24 +10:00
entry.S m68k: use non-MMU entry.S code when compiling for ColdFire CPU 2011-12-30 10:20:41 +10:00
head.S m68k/mac: early console 2011-12-10 19:52:45 +01:00
ints.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
irq.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
m68k_ksyms.c m68k: handle presence of 64bit mul/div instructions cleanly 2011-12-24 21:47:57 +10:00
Makefile m68k: Use generic init_task 2012-05-05 13:00:23 +02:00
module.c m68k: merge the non-mmu and mmu versions of module.c 2011-07-25 11:20:40 +10:00
module.lds m68k: runtime patching infrastructure 2007-05-31 07:58:13 -07:00
process.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
ptrace.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
setup_mm.c m68k: add ColdFire FPU support for the V4e ColdFire CPUs 2011-12-30 10:20:47 +10:00
setup_no.c m68knommu: modify timer init code to make it consistent with m68k code 2012-03-05 09:43:04 +10:00
setup.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
signal.c new helper: signal_delivered() 2012-06-01 12:58:52 -04:00
sun3-head.S m68k: arch/m68k/kernel/sun3-head.S needs <linux/init.h> 2009-04-28 16:07:18 -07:00
sys_m68k.c m68k: merge the mmu and non-mmu versions of sys_m68k.c 2011-05-24 15:17:21 +10:00
syscalltable.S m68k: Wire up process_vm_{read,write}v 2011-12-06 20:37:58 +01:00
time.c m68k: fix inclusion of arch_gettimeoffset for non-MMU 68k classic CPU types 2012-06-12 11:58:26 +10:00
traps.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
vectors.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
vmlinux-nommu.lds m68knommu: clean up linker script 2012-03-05 09:43:03 +10:00
vmlinux-std.lds m68k: print memory layout info in boot log 2011-12-24 21:47:57 +10:00
vmlinux-sun3.lds m68k: print memory layout info in boot log 2011-12-24 21:47:57 +10:00
vmlinux.lds.S m68k: use non-MMU linker script for ColdFire MMU builds 2011-12-30 10:20:44 +10:00