kernels/linux-2.4.0/drivers/s390/char/con3215.c
/*
 * Function to safely add raw3215_softint to tq_immediate.
 * The s390irq spinlock must be held.
 */
Function to safely add raw3215_softint to tq_immediate.
The s390irq spinlock must be held.
Function to safely add raw3215_softint to tq_immediate . The s390irq spinlock must be held .
static inline void raw3215_sched_bh(raw3215_info *raw)
{
        if (raw->flags & RAW3215_BH_PENDING)
                return;       
        raw->flags |= RAW3215_BH_PENDING;
        raw->tqueue.routine = raw3215_softint;
        raw->tqueue.data = raw;
        queue_task(&raw->tqueue, &tq_immediate);
        mark_bh(IMMEDIATE_BH);
}
static inline void raw3215_sched_bh ( raw3215_info * raw ) { if ( raw -> flags & RAW3215_BH_PENDING ) return ; raw -> flags |= RAW3215_BH_PENDING ; raw -> tqueue . routine = raw3215_softint ; raw -> tqueue . data = raw ; queue_task ( & raw -> tqueue , & tq_immediate ) ; mark_bh ( IMMEDIATE_BH ) ; }
Function to safely add raw3215_softint to tq_immediate.
Function to safely add raw3215_softint to tq_immediate .
/* already pending */