- Remove the definition for SCHED_ATM
- Change SCHED_ATM statements into schednetisr() calls.
This commit is contained in:
parent
6b891daaa5
commit
c3f9fb1a24
@ -833,10 +833,8 @@ finish:
|
||||
* the kernel to process the atm_intrq.
|
||||
*/
|
||||
if ( que )
|
||||
SCHED_ATM;
|
||||
|
||||
schednetisr(NETISR_ATM);
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -484,7 +484,7 @@ retry:
|
||||
* Schedule callback
|
||||
*/
|
||||
if (IF_HANDOFF(&atm_intrq, mhead, NULL)) {
|
||||
SCHED_ATM;
|
||||
schednetisr(NETISR_ATM);
|
||||
} else {
|
||||
fup->fu_stats->st_drv.drv_rv_ifull++;
|
||||
goto free_ent;
|
||||
|
@ -347,7 +347,6 @@ struct atm_ncm {
|
||||
typedef void (atm_intr_t)(void *, KBuffer *); /* Callback function type */
|
||||
typedef atm_intr_t *atm_intr_func_t; /* Pointer to callback function */
|
||||
|
||||
#define SCHED_ATM schednetisr(NETISR_ATM)
|
||||
#endif /* _KERNEL */
|
||||
|
||||
#endif /* _NETATM_ATM_IF_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user