diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-31 10:42:29 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-21 11:06:38 -0300 |
commit | 80cc7d87d5eb34375f916d282450a0906a8ead60 (patch) | |
tree | bcdec36f2945da29b13955d821d5a786f1f78139 /fs/nfs/dns_resolve.h | |
parent | c2c93dbc97622e26dc19edc71e50ebaa996d7804 (diff) |
edac: lock module owner to avoid error report conflicts
APEI GHES and i7core_edac/sb_edac currently can be loaded at
the same time, but those are Highlander modules:
"There can be only one".
There are two reasons for that:
1) Each driver assumes that it is the only one registering at
the EDAC core, as it is driver's responsibility to number
the memory controllers, and all of them start from 0;
2) If BIOS is handling the memory errors, the OS can't also be
doing it, as one will mangle with the other.
So, we need to add an module owner's lock at the EDAC core,
in order to avoid having two different modules handling memory
errors at the same time. The best way for doing this lock seems
to use the driver's name, as this is unique, and won't require
changes on every driver.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'fs/nfs/dns_resolve.h')
0 files changed, 0 insertions, 0 deletions