diff options
author | Toshi Kani <[email protected]> | 2017-08-23 16:54:46 -0600 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2017-09-25 12:55:59 +0200 |
commit | 3877c7d1e24c05eeb1c57ade04d2527d511f25a1 (patch) | |
tree | 942677a67fb7443cb727356d4e107e7b7a8a8733 /tools/perf/util/trace-event-scripting.c | |
parent | 5deed6b6a479ad5851d7ead6412dc6faa84a694e (diff) |
EDAC: Add helper which returns the loaded platform driver
Only a single EDAC platform driver can be loaded. When ghes_edac is
enabled, an EDAC platform driver still attempts to register itself and
fails in edac_mc_add_mc().
Add edac_get_owner() so that EDAC platform drivers can check the owner
first.
Signed-off-by: Toshi Kani <[email protected]>
Suggested-by: Borislav Petkov <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Massage commit message. ]
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions