alpha: fix breakage caused by df9ee29270
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Wed, 12 Jan 2011 05:37:25 +0000 (00:37 -0500)
committerMatt Turner <mattst88@monolith.freenet-rz.de>
Mon, 17 Jan 2011 04:42:15 +0000 (05:42 +0100)
commite2609f6aa2dce5d960ea1fe32f57524c315dede5
treead2a1f06256d86a41ab4fdfa71031d294cb5730a
parent00649643b1f4e1644f644f612c6bb390e69196ad
alpha: fix breakage caused by df9ee29270

Commit df9ee29270 made arch_local_irq_save and arch_local_irq_restore
static inline which with -Werror trips up on __set_hae() and _set_hae()
which are extern inline.  The naive solution is to make __set_hae() and
set_hae() static inline but for reasons described in commit d559d4a24a3fe
this breaks the generic kernel build.  Instead, since this is architecture
specific code, this patch hard wires in the architecture specific method
f disabling and enabling interrupts.

Tested-by: Michael Cree <mcree@orcon.net.nz>
Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/include/asm/io.h