]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin arch: force irq_flags into the .data section
authorMike Frysinger <michael.frysinger@analog.com>
Sun, 21 Oct 2007 16:19:31 +0000 (00:19 +0800)
committerBryan Wu <bryan.wu@analog.com>
Sun, 21 Oct 2007 16:19:31 +0000 (00:19 +0800)
commitc2ecbcd8ea99fb50fcc7e675e838b0d0e4045507
tree3fbcd0e8fe9a025dfa8c45dbfb7af6f6d5ed8a55
parentf3f2fe69d3de0ceb41ef9569c9e3bbd66a70ee06
Blackfin arch: force irq_flags into the .data section

force irq_flags into the .data section by initializing it to
the hardware masks that cannot be disabled.  this way if we
use irq enable/disable functions before the .bss has been
zeroed out (as does our l1 relocate/dma functions), we dont
hit a problem where bss contains bogus crap.

Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/mach-common/ints-priority-dc.c
arch/blackfin/mach-common/ints-priority-sc.c