]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/tile/include/arch/abi.h
arch/tile: Fix a couple of issues with the COMPAT code for TILE-Gx.
[net-next-2.6.git] / arch / tile / include / arch / abi.h
index da8df5b9d914a7936d261f63d4aa6cde97ffc628..8affc76f771a57af311215ff595b63132798a32b 100644 (file)
@@ -59,9 +59,7 @@
  * The ABI requires callers to allocate a caller state save area of
  * this many bytes at the bottom of each stack frame.
  */
-#ifdef __tile__
-#define C_ABI_SAVE_AREA_SIZE (2 * __SIZEOF_POINTER__)
-#endif
+#define C_ABI_SAVE_AREA_SIZE (2 * (CHIP_WORD_SIZE() / 8))
 
 /**
  * The operand to an 'info' opcode directing the backtracer to not