aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/fpstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/fpstate.h')
-rw-r--r--include/asm-arm/fpstate.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-arm/fpstate.h b/include/asm-arm/fpstate.h
index f7430e3aa55..6246bf83627 100644
--- a/include/asm-arm/fpstate.h
+++ b/include/asm-arm/fpstate.h
@@ -55,8 +55,10 @@ struct fp_soft_struct {
unsigned int save[FP_SOFT_SIZE]; /* undefined information */
};
+#define IWMMXT_SIZE 0x98
+
struct iwmmxt_struct {
- unsigned int save[0x98/sizeof(int) + 1];
+ unsigned int save[IWMMXT_SIZE / sizeof(unsigned int)];
};
union fp_state {