diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2020-04-28 17:59:37 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2020-04-28 17:59:37 +0000 |
| commit | 18fec7394da653a176be797ebcdd1eaf55897f9d (patch) | |
| tree | d00a307be124aae892643bfffd9d737bfa1ee5de /sys/dev/mpt | |
| parent | 179706b80d4dae216fea76890dc8c76d58ec478a (diff) | |
Notes
Diffstat (limited to 'sys/dev/mpt')
| -rw-r--r-- | sys/dev/mpt/mpt_user.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/mpt/mpt_user.c b/sys/dev/mpt/mpt_user.c index c33b9cab3c6f..80fef9e491bf 100644 --- a/sys/dev/mpt/mpt_user.c +++ b/sys/dev/mpt/mpt_user.c @@ -36,6 +36,9 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> +#ifdef __amd64__ +#include <sys/abi_compat.h> +#endif #include <sys/conf.h> #include <sys/errno.h> #include <sys/ioccom.h> @@ -588,11 +591,6 @@ mpt_user_raid_action(struct mpt_softc *mpt, struct mpt_raid_action *raid_act, return (0); } -#ifdef __amd64__ -#define PTRIN(p) ((void *)(uintptr_t)(p)) -#define PTROUT(v) ((u_int32_t)(uintptr_t)(v)) -#endif - static int mpt_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, struct thread *td) { |
