aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/ibmasm/ibmasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/ibmasm/ibmasm.h')
-rw-r--r--drivers/misc/ibmasm/ibmasm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/ibmasm/ibmasm.h b/drivers/misc/ibmasm/ibmasm.h
index 1e83406382e7..35c4def5af18 100644
--- a/drivers/misc/ibmasm/ibmasm.h
+++ b/drivers/misc/ibmasm/ibmasm.h
@@ -108,6 +108,7 @@ struct event_buffer {
108}; 108};
109 109
110struct event_reader { 110struct event_reader {
111 int cancelled;
111 unsigned int next_serial_number; 112 unsigned int next_serial_number;
112 wait_queue_head_t wait; 113 wait_queue_head_t wait;
113 struct list_head node; 114 struct list_head node;
@@ -185,6 +186,7 @@ extern void ibmasm_receive_event(struct service_processor *sp, void *data, unsi
185extern void ibmasm_event_reader_register(struct service_processor *sp, struct event_reader *reader); 186extern void ibmasm_event_reader_register(struct service_processor *sp, struct event_reader *reader);
186extern void ibmasm_event_reader_unregister(struct service_processor *sp, struct event_reader *reader); 187extern void ibmasm_event_reader_unregister(struct service_processor *sp, struct event_reader *reader);
187extern int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader); 188extern int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader);
189extern void ibmasm_cancel_next_event(struct event_reader *reader);
188 190
189/* heartbeat - from SP to OS */ 191/* heartbeat - from SP to OS */
190extern void ibmasm_register_panic_notifier(void); 192extern void ibmasm_register_panic_notifier(void);