diff options
author | Gavin Shan <[email protected]> | 2015-01-23 14:25:06 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2015-01-28 15:28:10 +1100 |
commit | 31494cf3532cfee0bf5c913ac9962971aab7b1d4 (patch) | |
tree | 73ebfdceed8b6920cd867c962712dd7bc69953e4 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | c1c3a526bb4ddbec7639a9fb3b84fede25b201d9 (diff) |
powerpc/powernv: Don't alloc IRQ map if necessary
On PowerNV platform, the OPAL interrupts are exported by firmware
through device-node property (/ibm,opal::opal-interrupts). Under
some extreme circumstances (e.g. simulator), we don't have this
property found from the device tree. For that case, we shouldn't
allocate the interrupt map. Otherwise, slab complains allocating
zero sized memory chunk.
Signed-off-by: Gavin Shan <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions