diff options
author | Adam Lackorzynski <[email protected]> | 2010-07-20 15:18:19 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2010-07-20 15:27:33 -0700 |
commit | 087b255a2b43f417af83cb44e0bb02507f36b7fe (patch) | |
tree | 418edc69d7899911df1965ba5404a43cc19cffc0 /tools/perf/util/trace-event-scripting.c | |
parent | f82c3d71d6fd2e6a3e3416f09099e29087e39abf (diff) |
x86, i8259: Only register sysdev if we have a real 8259 PIC
My platform makes use of the null_legacy_pic choice and oopses when doing
a shutdown as the shutdown code goes through all the registered sysdevs
and calls their shutdown method which in my case poke on a non-existing
i8259. Imho the i8259 specific sysdev should only be registered if the
i8259 is actually there.
Do not register the sysdev function when the null_legacy_pic is used so
that the i8259 resume, suspend and shutdown functions are not called.
Signed-off-by: Adam Lackorzynski <[email protected]>
LKML-Reference: <[email protected]>
Cc: Jacob Pan <[email protected]>
Cc: <[email protected]> 2.6.34
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions