linux/arch/m68k
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
..
68000 m68knommu: fix non-specific 68328 choice interrupt build failure 2022-09-26 10:27:53 +10:00
amiga
apollo
atari for-5.18/block-2022-03-18 2022-03-21 16:48:55 -07:00
bvme6000 for-5.18/block-2022-03-18 2022-03-21 16:48:55 -07:00
coldfire m68k: Fix syntax errors in comments 2022-07-25 09:01:09 +10:00
configs m68k: defconfig: Update defconfigs for v5.19-rc1 2022-07-12 10:48:21 +02:00
emu block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
fpsp040
hp300 m68k: removed unused "mach_get_ss" 2022-05-25 00:04:11 +10:00
ifpsp060
include provide arch_test_bit_acquire for architectures that define test_bit 2022-08-27 09:49:54 -07:00
kernel m68k: Add common forward declaration for show_registers() 2022-07-12 10:48:21 +02:00
lib net: unexport csum_and_copy_{from,to}_user 2022-04-29 14:37:59 -07:00
mac m68k: Add common forward declaration for show_registers() 2022-07-12 10:48:21 +02:00
math-emu m68k: math-emu: Fix typos in comments 2022-05-09 13:13:59 +02:00
mm m68k/mm: enable ARCH_HAS_VM_GET_PAGE_PROT 2022-07-17 17:14:40 -07:00
mvme16x for-5.18/block-2022-03-18 2022-03-21 16:48:55 -07:00
mvme147 for-5.18/block-2022-03-18 2022-03-21 16:48:55 -07:00
q40 This was a moderately busy cycle for documentation, but nothing all that 2022-08-02 19:24:24 -07:00
sun3 m68k: sun3: Use __func__ to get function's name in an output message 2022-06-20 14:16:43 +02:00
sun3x
tools/amiga
virt m68k: Add common forward declaration for show_registers() 2022-07-12 10:48:21 +02:00
install.sh kbuild: factor out the common installation code into scripts/install.sh 2022-05-11 21:45:53 +09:00
Kbuild m68k: Introduce a virtual m68k machine 2022-04-11 11:48:01 +02:00
Kconfig mm/mmap: drop ARCH_HAS_VM_GET_PAGE_PROT 2022-07-17 17:14:41 -07:00
Kconfig.bus m68k: coldfire: drop ISA_DMA_API support 2022-05-16 13:18:30 +10:00
Kconfig.cpu m68k: Kconfig.cpu: Fix indentation and add endif comments 2022-07-06 14:07:04 +02:00
Kconfig.debug m68k: Kconfig.debug: Replace single quotes 2022-07-06 14:07:04 +02:00
Kconfig.devices
Kconfig.machine m68k: Kconfig.machine: Add endif comment 2022-07-06 14:07:04 +02:00
Makefile kbuild: factor out the common installation code into scripts/install.sh 2022-05-11 21:45:53 +09:00