| 1 |
--- a/proto3.c |
| 2 |
+++ b/proto3.c |
| 3 |
@@ -1,7 +1,6 @@ |
| 4 |
#include "proto3.h" |
| 5 |
|
| 6 |
-static void bch_sched_event(struct BCState *bcs, int event) |
| 7 |
-{ |
| 8 |
+static void bch_sched_event(int event) { |
| 9 |
bcs->event |= 1 << event; |
| 10 |
schedule_work(&bcs->work); |
| 11 |
} |
| 12 |
--- a/proto3.h |
| 13 |
+++ b/proto3.h |
| 14 |
@@ -1,3 +1,3 @@ |
| 15 |
void bch_l2l1(struct PStack *st, int pr, void *arg); |
| 16 |
-void bch_sched_event(struct BCState *bcs, int event); |
| 17 |
+void bch_sched_event(int event); |
| 18 |
void bch_empty_fifo(struct BCState *bcs, int count); |