Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
arch
/
powerpc
/
platforms
/
pseries
/
ras.c
diff --git
a/kernel/arch/powerpc/platforms/pseries/ras.c
b/kernel/arch/powerpc/platforms/pseries/ras.c
index
02e4a17
..
3b6647e
100644
(file)
--- a/
kernel/arch/powerpc/platforms/pseries/ras.c
+++ b/
kernel/arch/powerpc/platforms/pseries/ras.c
@@
-189,7
+189,8
@@
static irqreturn_t ras_epow_interrupt(int irq, void *dev_id)
int state;
int critical;
- status = rtas_get_sensor(EPOW_SENSOR_TOKEN, EPOW_SENSOR_INDEX, &state);
+ status = rtas_get_sensor_fast(EPOW_SENSOR_TOKEN, EPOW_SENSOR_INDEX,
+ &state);
if (state > 3)
critical = 1; /* Time Critical */