aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-03-01 10:15:29 +0100
committerGuenter Roeck <[email protected]>2017-03-01 06:15:10 -0800
commit3736d4eb6af37492aeded7fec0072dedd959c842 (patch)
tree20d8d96e44e8af895e3dee3003db3d0ba10c1088 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent8d5755b3f77b57447ce5de253ef704ad028474d3 (diff)
watchdog: kempld: fix gcc-4.3 build
gcc-4.3 can't decide whether the constant value in kempld_prescaler[PRESCALER_21] is built-time constant or not, and gets confused by the logic in do_div(): drivers/watchdog/kempld_wdt.o: In function `kempld_wdt_set_stage_timeout': kempld_wdt.c:(.text.kempld_wdt_set_stage_timeout+0x130): undefined reference to `__aeabi_uldivmod' This adds a call to ACCESS_ONCE() to force it to not consider it to be constant, and leaves the more efficient normal case in place for modern compilers, using an #ifdef to annotate why we do this hack. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions