Skip to content

Commit e35524c

Browse files
committed
splx() is defined to return (void). Use _spl() directly here instead.
1 parent 65b4187 commit e35524c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sys/arch/atari/vme/if_le_vme.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: if_le_vme.c,v 1.35 2023/01/06 10:28:28 tsutsui Exp $ */
1+
/* $NetBSD: if_le_vme.c,v 1.36 2026/03/18 04:01:15 thorpej Exp $ */
22

33
/*-
44
* Copyright (c) 1998 maximum entropy. All rights reserved.
@@ -74,7 +74,7 @@
7474
*/
7575

7676
#include <sys/cdefs.h>
77-
__KERNEL_RCSID(0, "$NetBSD: if_le_vme.c,v 1.35 2023/01/06 10:28:28 tsutsui Exp $");
77+
__KERNEL_RCSID(0, "$NetBSD: if_le_vme.c,v 1.36 2026/03/18 04:01:15 thorpej Exp $");
7878

7979
#include "opt_inet.h"
8080

@@ -334,7 +334,7 @@ lepseudointr(struct le_softc *lesc, void *sc)
334334
{
335335
int s;
336336

337-
s = splx(lesc->sc_splval);
337+
s = _spl(lesc->sc_splval);
338338
am7990_intr(sc);
339339
splx(s);
340340
}

0 commit comments

Comments
 (0)