m68k/amiga: Chip RAM - Change chipavail to an atomic_t
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 24 Apr 2011 21:40:51 +0000 (23:40 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 30 Jul 2011 19:21:38 +0000 (21:21 +0200)
commitcab49bc95d848a85d7108f896f6d21283f25f54c
treed3cf9c77dddce64dc238e7378cd924717a8d02db
parent3a17bfa4fb37e7f8e06ef31feafec559bd4c6699
m68k/amiga: Chip RAM - Change chipavail to an atomic_t

While the core resource handling code is safe, our global counter must
still be protected against concurrent modifications.

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