linux/arch/m68k/68000
Greg Ungerer 750321ace9 m68knommu: fix non-specific 68328 choice interrupt build failure
Compiling for a classic m68k non-MMU target with no specific CPU
selected fails with the following error:

   arch/m68k/68000/ints.c: In function 'process_int':
>> arch/m68k/68000/ints.c:82:30: error: 'ISR' undeclared (first use in this function)
      82 |         unsigned long pend = ISR;
         |                              ^~~

This interrupt handling code is specific to the 68328 family of 68000
parts. There is a couple of variants (68EZ328, 68VZ328) and the common
ancestor of them the strait 68328.

The code here includes a specific header for each variant type. But if
none is selected then nothing is included to supply the appropriate
register and bit flags defines.

Rearrange the includes so that at least one type is always included.
At the very least the 68328 base type should be the fallback, so make
that true.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
2022-09-26 10:27:53 +10:00
..
bootlogo-vz.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bootlogo.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dragen2.c m68knommu: fix warning: no previous prototype for 'init_dragen2' 2022-03-07 14:51:11 +10:00
entry.S m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
head.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ints.c m68knommu: fix non-specific 68328 choice interrupt build failure 2022-09-26 10:27:53 +10:00
m68328.c m68k: m68328: remove duplicate code 2020-12-07 09:37:58 +10:00
m68328.h m68k: m68328: move platform code to separate files 2020-12-07 09:37:58 +10:00
Makefile m68k: m68328: remove duplicate code 2020-12-07 09:37:58 +10:00
romvec.S
screen.h m68knommu: fix 'screen_bits' defined but not used 2022-03-07 14:51:11 +10:00
timers.c m68k: remove timer_interrupt() function 2020-10-30 21:57:06 +01:00
ucsimm.c m68knommu: fix ucsimm sparse warnings 2022-03-07 14:51:12 +10:00