]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin: push SRAM locks down into related ifdefs
authorMike Frysinger <vapier@gentoo.org>
Wed, 1 Jul 2009 15:42:13 +0000 (15:42 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 01:31:41 +0000 (21:31 -0400)
commit946d7ba21b8601b2780118227581de0ab6fb8910
tree49e9252e316ae9cb021d595de4a07cb0cf1e89d3
parent05b6b29c26b9a09ed7a37fe2fe1b925ebaa901ee
Blackfin: push SRAM locks down into related ifdefs

Rather than defining the locks and initializing them all the time, only do
so when we actually need them (i.e. the SRAM regions exist).  This avoids
dead data and code bloat during runtime.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mm/sram-alloc.c