-/* $OpenBSD: agintc.c,v 1.35 2021/10/24 17:52:28 mpi Exp $ */
+/* $OpenBSD: agintc.c,v 1.36 2022/01/02 20:00:21 kettenis Exp $ */
/*
* Copyright (c) 2007, 2009, 2011, 2017 Dale Rahn <drahn@dalerahn.com>
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
KERNEL_LOCK();
#endif
- if (ih->ih_arg != 0)
+ if (ih->ih_arg)
arg = ih->ih_arg;
else
arg = frame;
-/* $OpenBSD: ampintc.c,v 1.26 2021/10/24 17:52:28 mpi Exp $ */
+/* $OpenBSD: ampintc.c,v 1.27 2022/01/02 20:00:21 kettenis Exp $ */
/*
* Copyright (c) 2007,2009,2011 Dale Rahn <drahn@openbsd.org>
*
KERNEL_LOCK();
#endif
- if (ih->ih_arg != 0)
+ if (ih->ih_arg)
arg = ih->ih_arg;
else
arg = frame;
-/* $OpenBSD: bcm2836_intr.c,v 1.13 2021/10/24 17:52:28 mpi Exp $ */
+/* $OpenBSD: bcm2836_intr.c,v 1.14 2022/01/02 20:00:21 kettenis Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2015 Patrick Wildt <patrick@blueri.se>
KERNEL_LOCK();
#endif
- if (ih->ih_arg != 0)
+ if (ih->ih_arg)
arg = ih->ih_arg;
else
arg = frame;