make sure interrupt.h is included.
This commit is contained in:
parent
5ffdd39684
commit
ce4d8aba2f
|
@ -225,6 +225,10 @@ typedef struct wlandevice
|
|||
#endif
|
||||
|
||||
/* Rx bottom half */
|
||||
#ifndef _LINUX_INTERRUPT_H
|
||||
#error "You forgot to #include <linux/interrupt.h>!"
|
||||
#endif
|
||||
|
||||
#ifdef DECLARE_TASKLET /* use tasklets */
|
||||
struct tasklet_struct rx_bh;
|
||||
#else
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
#include <linux/skbuff.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/proc_fs.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/if_arp.h>
|
||||
#include <linux/rtnetlink.h>
|
||||
|
@ -348,18 +349,18 @@ int p80211knetdev_stop( netdevice_t *netdev )
|
|||
void
|
||||
p80211netdev_rx(wlandevice_t *wlandev, struct sk_buff *skb )
|
||||
{
|
||||
DBFENTER;
|
||||
DBFENTER;
|
||||
|
||||
/* Enqueue for post-irq processing */
|
||||
skb_queue_tail(&wlandev->nsd_rxq, skb);
|
||||
|
||||
|
||||
#ifdef DECLARE_TASKLET
|
||||
tasklet_schedule(&wlandev->rx_bh);
|
||||
#else
|
||||
queue_task(&wlandev->rx_bh, &tq_immediate);
|
||||
mark_bh(IMMEDIATE_BH);
|
||||
#endif
|
||||
|
||||
|
||||
DBFEXIT;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue