OSDN Git Service

m68k/amiga: Chip RAM - Always allocate from the start of memory
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 24 Apr 2011 21:19:05 +0000 (23:19 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 30 Jul 2011 19:21:38 +0000 (21:21 +0200)
commit3a17bfa4fb37e7f8e06ef31feafec559bd4c6699
treedf5d877a6da920b5acbefddd4951c5e197c16343
parentb4f6f45302a9440e26f71dab0b95906bcc3bd13a
m68k/amiga: Chip RAM - Always allocate from the start of memory

As of commit 5df1abdbd37af2ae317a1c5b5944173284dc55d6 ('m68k/amiga: Fix
"debug=mem"'), "debug=mem" no longer uses amiga_chip_alloc_res(), so we
can remove the hack to prefer memory at the safe end.

This allows to simplify the code and make amiga_chip_alloc() just call
amiga_chip_alloc_res() internally.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/amiga/chipram.c