mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
- Remove the definition for SCHED_ATM
- Change SCHED_ATM statements into schednetisr() calls.
This commit is contained in:
parent
6b891daaa5
commit
c3f9fb1a24
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98717
@ -833,10 +833,8 @@ eni_recv_drain ( eup )
|
||||
* the kernel to process the atm_intrq.
|
||||
*/
|
||||
if ( que )
|
||||
SCHED_ATM;
|
||||
|
||||
schednetisr(NETISR_ATM);
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -484,7 +484,7 @@ fore_recv_drain(fup)
|
||||
* 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…
Reference in New Issue
Block a user