]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-xtensa/coprocessor.h
[XTENSA] Clean up stat structs.
[linux-2.6-omap-h63xx.git] / include / asm-xtensa / coprocessor.h
index bd09ec02d57f941182f2de62a4de7476c36250d2..aa2121034558684f3f6a654b383a77bb838ae558 100644 (file)
@@ -64,6 +64,7 @@ typedef struct {
 #  define COPROCESSOR_INFO_SIZE 8
 # endif
 #endif
+#endif /* XCHAL_HAVE_CP */
 
 
 #ifndef __ASSEMBLY__
@@ -74,8 +75,11 @@ extern void save_coprocessor_registers(void*, int);
 # else
 #  define release_coprocessors(task)
 # endif
-#endif
 
-#endif
+typedef unsigned char cp_state_t[XTENSA_CP_EXTRA_SIZE]
+       __attribute__ ((aligned (XTENSA_CP_EXTRA_ALIGN)));
+
+#endif /* !__ASSEMBLY__ */
+
 
 #endif /* _XTENSA_COPROCESSOR_H */