diff options
author | Kan Liang <[email protected]> | 2015-01-20 04:54:25 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-01-28 13:04:34 +0100 |
commit | c05199e5a57a579fea1e8fa65e2b511ceb524ffc (patch) | |
tree | 200e6737a865934728356b94cc255bc841631d01 /scripts/gdb/linux/utils.py | |
parent | 4adca1cbc4cedb31aba03497b3de238ea13b566a (diff) |
perf/x86/intel/uncore: Move uncore_box_init() out of driver initialization
There were some issues about the uncore driver tried to access
non-existing boxes, which caused boot crashes. These issues have
been all fixed. But we should avoid boot failures if that ever
happens again.
This patch intends to prevent this kind of potential issues.
It moves uncore_box_init out of driver initialization. The box
will be initialized when it's first enabled.
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Yan, Zheng <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions