mirror of https://gitee.com/openkylin/linux.git
7c52198b9c
UV: NMI: insert this_cpu_read accessor function on uv_hub_nmi.
On SGI UV systems a 'power nmi' command from the CMC causes
all processors to drop into uv_handle_nmi(). With the 4.0
kernel this results in
BUG: unable to handle kernel paging request
The bug is caused by the current code trying to use the PER_CPU
variable uv_cpu_nmi.hub without an appropriate accessor
function. That oversight occurred in
commit
|
||
---|---|---|
.. | ||
bios.h | ||
uv.h | ||
uv_bau.h | ||
uv_hub.h | ||
uv_irq.h | ||
uv_mmrs.h |