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)
commita99bbccd8738c0d8df270391284db2fae28d8a82
tree3fbcd0e8fe9a025dfa8c45dbfb7af6f6d5ed8a55
parent876a6682aac9b22cf24e0a3a7fea648fd64e112b
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