diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2020-04-14 20:30:48 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2020-04-14 20:30:48 +0000 |
| commit | 562894f0dc310f658284863ff329906e7737a0a0 (patch) | |
| tree | 8a830d5373ca9ce37e8d766441703236d0240ae9 /sys/dev/ipmi | |
| parent | c23ca622a27cac1c9391d81c50342d091c1d3b63 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ipmi')
| -rw-r--r-- | sys/dev/ipmi/ipmi.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/ipmi/ipmi.c b/sys/dev/ipmi/ipmi.c index da44e70dbcbc..25077500d835 100644 --- a/sys/dev/ipmi/ipmi.c +++ b/sys/dev/ipmi/ipmi.c @@ -55,6 +55,10 @@ __FBSDID("$FreeBSD$"); #include <dev/ipmi/ipmivars.h> #endif +#ifdef IPMICTL_SEND_COMMAND_32 +#include <sys/abi_compat.h> +#endif + /* * Driver request structures are allocated on the stack via alloca() to * avoid calling malloc(), especially for the watchdog handler. @@ -315,11 +319,6 @@ ipmi_handle_attn(struct ipmi_softc *sc) } #endif -#ifdef IPMICTL_SEND_COMMAND_32 -#define PTRIN(p) ((void *)(uintptr_t)(p)) -#define PTROUT(p) ((uintptr_t)(p)) -#endif - static int ipmi_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, int flags, struct thread *td) |
