diff options
Diffstat (limited to 'pfinet/linux')
-rw-r--r-- | pfinet/linux/interrupt.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pfinet/linux/interrupt.h b/pfinet/linux/interrupt.h index 49432b6e..738c84ad 100644 --- a/pfinet/linux/interrupt.h +++ b/pfinet/linux/interrupt.h @@ -2,6 +2,14 @@ #define _HACK_INTERRUPT_H_ #define NET_BH 1 -void mark_bh (int); + +extern inline void +mark_bottom_half (int foo) +{ + assert (foo == NET_BH); + + incoming_net_packet (); +} + #endif |