linux-stable-rt/arch/m68k
Greg Ungerer 734c3ce3bd m68k: use kernel processor defines for conditional optimizations
Older m68k-linux compilers will include pre-defined symbols that
confuse what processor it is being targeted for. For example gcc-4.1.2
will pre-define __mc68020__ even if you specify the target processor
as -m68000 on the gcc command line. Newer versions of gcc have this
corrected.

In a few places the m68k code uses defined(__mc68020__) for optimizations
that include instructions that are specific to the CPU 68020 and above.
When compiling with older compilers this will be true even when we have
selected to compile for the older 68000 processors.

Switch to using the kernel processor defines, CONFIG_M68020 and friends.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
2011-06-14 11:42:29 +10:00
..
amiga
apollo
atari
bvme6000
configs
emu
fpsp040
hp300
ifpsp060
include/asm Merge branch 'setns' 2011-05-28 10:51:01 -07:00
kernel m68k: use kernel processor defines for conditional optimizations 2011-06-14 11:42:29 +10:00
lib m68k: use kernel processor defines for conditional optimizations 2011-06-14 11:42:29 +10:00
mac
math-emu
mm
mvme16x
mvme147
platform
q40
sun3
sun3x
tools/amiga
Kconfig
Kconfig.debug
Kconfig.mmu
Kconfig.nommu m68knommu: create config options for CPU classes 2011-06-14 11:42:29 +10:00
Makefile
Makefile_mm
Makefile_no
install.sh