summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2021-07-25 12:44:13 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2021-08-09 13:23:50 +0200
commit2189e928b62e91d8efbc9826ae7c0968f0d55790 (patch)
tree51d631b85a40f4d9b69d5df1d2982e61bbfd4887 /arch/m68k/include
parent07aa6c73e7c670c1917e3b2447e8f1b4c236315e (diff)
downloadlinux-stable-2189e928b62e91d8efbc9826ae7c0968f0d55790.tar.gz
linux-stable-2189e928b62e91d8efbc9826ae7c0968f0d55790.tar.bz2
linux-stable-2189e928b62e91d8efbc9826ae7c0968f0d55790.zip
m68k: Fix invalid RMW_INSNS on CPUs that lack CAS
When enabling CONFIG_RMW_INSNS in e.g. a Coldfire build: {standard input}:3068: Error: invalid instruction for this architecture; needs 68020 or higher (68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060]) -- statement `casl %d4,%d0,(%a6)' ignored Fix this by (a) adding a new config symbol to track if support for any CPU that lacks the CAS instruction is enabled, and (b) making CONFIG_RMW_INSNS depend on the new symbol not being set. Fixes: 0e152d80507b75c0 ("m68k: reorganize Kconfig options to improve mmu/non-mmu selections") Reported-by: kernel test robot <lkp@intel.com> Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20210725104413.318932-1-geert@linux-m68k.org
Diffstat (limited to 'arch/m68k/include')
0 files changed, 0 insertions, 0 deletions