diff options
author | 2013-06-29 10:40:20 +0200 | |
---|---|---|
committer | 2013-11-26 11:09:03 +0100 | |
commit | c293738e6d8dfb9c941759855b5161fde449644d (patch) | |
tree | 3c2d4b2041af3e2fe5a8a4702cdfe49fca3e1f7f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Documentation/zorro.txt: Update path to arch-specific header files (diff) | |
download | linux-dev-c293738e6d8dfb9c941759855b5161fde449644d.tar.xz linux-dev-c293738e6d8dfb9c941759855b5161fde449644d.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions