linux_dsm_epyc7002/arch/m68k/sun3
Geert Uytterhoeven 7b3e8de9b3 m68k/sun3: Dynamically allocate the table to track IOMMU use
As Sun 3 kernels cannot be multi-platform due to the different Sun 3 MMU
type, it made sense to statically allocate the table to track IOMMU use.

However, Sun 3x kernels can be multi-platform. Furthermore, Sun 3x uses
a larger table than Sun 3 (8192 bytes instead of 512 bytes).

Hence switch to dynamic allocation of this table using the bootmem
allocator to avoid wasting 8192 bytes when not running on a Sun 3x.
As this allocator returns zeroed memory, there's no need to explicitly
initialize the table to zeroes.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2013-11-26 11:08:59 +01:00
..
prom m68k/sun3: Remove unselectable code in prom_init() 2012-06-27 09:59:44 +02:00
config.c m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00
dvma.c m68k: Mark functions only called from setup_arch() __init 2013-11-26 11:08:54 +01:00
idprom.c m68k/sun3/: possible cleanups 2008-07-20 17:24:39 -07:00
intersil.c m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00
leds.c arch/m68k/sun3/leds.c: Checkpatch cleanup 2010-08-09 21:14:07 +02:00
Makefile m68k/sun3/: possible cleanups 2008-07-20 17:24:39 -07:00
mmu_emu.c m68k: Mark functions only called from setup_arch() __init 2013-11-26 11:08:54 +01:00
sun3dvma.c m68k/sun3: Dynamically allocate the table to track IOMMU use 2013-11-26 11:08:59 +01:00
sun3ints.c m68k/sun3: Get interrupts working again 2012-11-14 08:50:57 +01:00