diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-11-26 07:36:15 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-04 10:41:27 +0100 |
commit | 143db67af02cecab28032ec3a52e586b1433fe70 (patch) | |
tree | 1e56491f55853492053714df7ea411ce311ea386 /arch | |
parent | [POWERPC] include/asm-powerpc/: "extern inline" -> "static inline" (diff) | |
download | linux-143db67af02cecab28032ec3a52e586b1433fe70.tar.xz linux-143db67af02cecab28032ec3a52e586b1433fe70.zip |
[POWERPC] Provide dummy hard_irq_enable/disable() for PPC32
To allow arch/powerpc/kernel/crash.c to build on 32-bit we need a
definition of hard_irq_disable(). 32-bit doesn't support the lazy
interrupt disabling mechanism, so on 32-bit hard_irq_disable() is
simply local_irq_disable(). Add a definition for hard_irq_enable()
just for completeness.
This allows (KEXEC=y && PPC32=y) to build again. Broken since
d04c56f73c30a5e593202ecfcf25ed43d42363a2.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions