aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/ibmasm/event.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2007-07-17 07:03:58 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 13:23:04 -0400
commit3110dc7a8660ea1617afac2a55e3d18ae6ce141b (patch)
tree616aaa6975f236c220b35271e1fbfddfe658a547 /drivers/misc/ibmasm/event.c
parent567f3e422a9a155d7c7643148efb5bf959065d34 (diff)
IBMASM: whitespace cleanup
IBMASM: whitespace cleanup Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cc: Vernon Mauery <vernux@us.ibm.com> Cc: Max Asbock <masbock@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/ibmasm/event.c')
-rw-r--r--drivers/misc/ibmasm/event.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/ibmasm/event.c b/drivers/misc/ibmasm/event.c
index fe1e819235a4..fda6a4d3bf23 100644
--- a/drivers/misc/ibmasm/event.c
+++ b/drivers/misc/ibmasm/event.c
@@ -18,7 +18,7 @@
18 * 18 *
19 * Copyright (C) IBM Corporation, 2004 19 * Copyright (C) IBM Corporation, 2004
20 * 20 *
21 * Author: Max Asböck <amax@us.ibm.com> 21 * Author: Max Asböck <amax@us.ibm.com>
22 * 22 *
23 */ 23 */
24 24
@@ -51,7 +51,7 @@ static void wake_up_event_readers(struct service_processor *sp)
51 * event readers. 51 * event readers.
52 * There is no reader marker in the buffer, therefore readers are 52 * There is no reader marker in the buffer, therefore readers are
53 * responsible for keeping up with the writer, or they will loose events. 53 * responsible for keeping up with the writer, or they will loose events.
54 */ 54 */
55void ibmasm_receive_event(struct service_processor *sp, void *data, unsigned int data_size) 55void ibmasm_receive_event(struct service_processor *sp, void *data, unsigned int data_size)
56{ 56{
57 struct event_buffer *buffer = sp->event_buffer; 57 struct event_buffer *buffer = sp->event_buffer;
@@ -77,13 +77,13 @@ void ibmasm_receive_event(struct service_processor *sp, void *data, unsigned int
77 77
78static inline int event_available(struct event_buffer *b, struct event_reader *r) 78static inline int event_available(struct event_buffer *b, struct event_reader *r)
79{ 79{
80 return (r->next_serial_number < b->next_serial_number); 80 return (r->next_serial_number < b->next_serial_number);
81} 81}
82 82
83/** 83/**
84 * get_next_event 84 * get_next_event
85 * Called by event readers (initiated from user space through the file 85 * Called by event readers (initiated from user space through the file
86 * system). 86 * system).
87 * Sleeps until a new event is available. 87 * Sleeps until a new event is available.
88 */ 88 */
89int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader) 89int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader)