xtensa: xtfpga: fix integer overflow in TASK_SIZE
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 24 Sep 2015 20:34:02 +0000 (23:34 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 2 Nov 2015 15:02:55 +0000 (18:02 +0300)
commitb85d45947951d23cb22d90caecf4c1eb81342c96
tree5a9b1328d951b143cf9791ced96bec95c26ebceb
parent01618bded680573163403666d0546be536b22ac0
xtensa: xtfpga: fix integer overflow in TASK_SIZE

This fixes the following warning when default memory region crosses
0x80000000:

  arch/xtensa/include/asm/processor.h:40:47: warning:
    integer overflow in expression [-Woverflow]
    #define TASK_SIZE (PLATFORM_DEFAULT_MEM_START + PLATFORM_DEFAULT_MEM_SIZE)
                                               ^
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/platforms/xtfpga/include/platform/hardware.h