summaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/processor.h
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2007-08-05 11:24:13 -0700
committerChris Zankel <chris@zankel.net>2007-08-27 13:53:46 -0700
commit24a9ab7fa143498802b35c66de10cc3cfdac2c51 (patch)
tree6d7532264a19c6f8e66e451f96035d6c422f58d8 /include/asm-xtensa/processor.h
parent2b8aea74e78e977b1f9987e23e3e59f3ef4359f4 (diff)
downloadop-kernel-dev-24a9ab7fa143498802b35c66de10cc3cfdac2c51.zip
op-kernel-dev-24a9ab7fa143498802b35c66de10cc3cfdac2c51.tar.gz
[XTENSA] Add typecast macro for constants
Add macros (__XTENSA_UL and __XTENSA_UL_CONST) for typecasting constants. Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'include/asm-xtensa/processor.h')
-rw-r--r--include/asm-xtensa/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-xtensa/processor.h b/include/asm-xtensa/processor.h
index 4feb9f7..35145bc 100644
--- a/include/asm-xtensa/processor.h
+++ b/include/asm-xtensa/processor.h
@@ -33,7 +33,7 @@
* the 1 GB requirement applies to the stack as well.
*/
-#define TASK_SIZE 0x40000000
+#define TASK_SIZE __XTENSA_UL_CONST(0x40000000)
/*
* General exception cause assigned to debug exceptions. Debug exceptions go
OpenPOWER on IntegriCloud