android_kernel_motorola_sm6225/arch/m68k/amiga
Geert Uytterhoeven c293738e6d zorro: Do not allocate zorro_autocon[] statically
Currently the array of Zorro devices is allocated statically, wasting
up to 4.5 KiB when running an Amiga or multi-platform kernel on a machine
with no or a handful of Zorro expansion cards. Convert it to conditional
dynamic memory allocation to fix this.

amiga_parse_bootinfo() still needs to store some information about the
detected Zorro devices, at a time even the bootmem allocator is not yet
available.  This is now handled using a much smaller array (typically less
than 0.5 KiB), which is __initdata and thus freed later.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2013-11-26 11:09:03 +01:00
..
amiints.c m68k/irq: Remove obsolete m68k irq framework 2011-11-08 22:35:52 +01:00
amisound.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
chipram.c m68k/amiga: Chip RAM - Use lookup_resource() 2011-07-30 21:21:39 +02:00
cia.c m68k/irq: Rename {,__}m68k_handle_int() 2011-11-08 22:35:48 +01:00
config.c zorro: Do not allocate zorro_autocon[] statically 2013-11-26 11:09:03 +01:00
Makefile m68k: amiga - Zorro host bridge platform device conversion 2010-05-17 21:37:42 +02:00
pcmcia.c m68k: kill arch/m68k/amiga/amiga_ksyms.c 2008-02-05 09:44:23 -08:00
platform.c zorro: Do not allocate zorro_autocon[] statically 2013-11-26 11:09:03 +01:00