mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
x86, EDAC: Provide function to return NodeId of a CPU
Signed-off-by: Andreas Herrmann <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Acked-by: H. Peter Anvin <[email protected]>
This commit is contained in:
parent
b9183f9b99
commit
6a8126911a
3 changed files with 13 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ void decode_mce(struct mce *m)
|
|||
regs.nbsh = (u32)(m->status >> 32);
|
||||
regs.nbeal = (u32) m->addr;
|
||||
regs.nbeah = (u32)(m->addr >> 32);
|
||||
node = per_cpu(cpu_llc_id, m->extcpu);
|
||||
node = amd_get_nb_id(m->extcpu);
|
||||
|
||||
amd_decode_nb_mce(node, ®s, 1);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue