summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarc Jones <marc.jones@se-eng.com>2012-03-01 16:12:11 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2012-03-10 14:19:42 +0100
commit987e883e6a5a48eb7404c81e1eb5fdcfb1107ef7 (patch)
treee2238bc4e84750ebef0b060e5a1ace79b951632f /Makefile
parent32829caf40e12974a11cb470c4da1e9a04971f76 (diff)
Make libpayload alloc() memory pointers volatile
gcc4.6.2 was optimizing the libpayload alloc() function and failing to reload a pointer after the memory had been manipulated by a pointer in the inlined function setup(). Change the pointer type to volatile and now pass it to the setup() function. Also clean up the declaration so that it isn't cast a bunch times in the function. Change-Id: I1637bd7bd5d9cf82ac88925cbfe76d319aa3cd82 Signed-off-by: Marc Jones <marc.jones@se-eng.com> Reviewed-on: http://review.coreboot.org/705 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions