summaryrefslogtreecommitdiff
path: root/arch/mips/fw/sni/sniprom.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/fw/sni/sniprom.c')
-rw-r--r--arch/mips/fw/sni/sniprom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/fw/sni/sniprom.c b/arch/mips/fw/sni/sniprom.c
index 2c2cb18..6aa264b 100644
--- a/arch/mips/fw/sni/sniprom.c
+++ b/arch/mips/fw/sni/sniprom.c
@@ -40,7 +40,8 @@
#ifdef CONFIG_64BIT
-static u8 o32_stk[16384];
+/* O32 stack has to be 8-byte aligned. */
+static u64 o32_stk[4096];
#define O32_STK &o32_stk[sizeof(o32_stk)]
#define __PROM_O32(fun, arg) fun arg __asm__(#fun); \