aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2018-07-06 16:15:00 -0400
committerRobert Jarzmik <robert.jarzmik@free.fr>2018-07-07 07:25:15 -0400
commit0c1049dcb4ceec640d8bd797335bcbebdcab44d2 (patch)
treee8f821ed2fb82ce7ec966d663eb96f7aa8fab358 /tools/perf/util/c++/clang.cpp
parentce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff)
ARM: pxa: irq: fix handling of ICMR registers in suspend/resume
PXA3xx platforms have 56 interrupts that are stored in two ICMR registers. The code in pxa_irq_suspend() and pxa_irq_resume() however does a simple division by 32 which only leads to one register being saved at suspend and restored at resume time. The NAND interrupt setting, for instance, is lost. Fix this by using DIV_ROUND_UP() instead. Signed-off-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions