]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc/pseries: Scan for all events in rtasd
authorAnton Blanchard <anton@samba.org>
Tue, 31 Mar 2009 20:13:27 +0000 (20:13 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 7 Apr 2009 05:18:59 +0000 (15:18 +1000)
Instead of checking for known events, pass in all 1s so we handle future
event types.  We were currently missing the IO event type.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/rtas.h

index 0aa0315fb7e8a56d5aa120e8932afb9ddf0c694f..01c12339b30444270d8f2a0be248f6860571d21f 100644 (file)
@@ -68,7 +68,8 @@ struct rtas_t {
 #define RTAS_EPOW_WARNING              0x40000000 /* set bit 1 */
 #define RTAS_POWERMGM_EVENTS           0x20000000 /* set bit 2 */
 #define RTAS_HOTPLUG_EVENTS            0x10000000 /* set bit 3 */
-#define RTAS_EVENT_SCAN_ALL_EVENTS     0xf0000000
+#define RTAS_IO_EVENTS                 0x08000000 /* set bit 4 */
+#define RTAS_EVENT_SCAN_ALL_EVENTS     0xffffffff
 
 /* RTAS event severity */
 #define RTAS_SEVERITY_FATAL            0x5