diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2026-01-20 22:43:19 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2026-01-25 12:35:22 +0000 |
| commit | 44d1153ddaf8f961520a8f33222b65170196b90e (patch) | |
| tree | 123f419df93a11c9943367f51421c226bb9e65ca /sys/compat/linuxkpi/common/include | |
| parent | 0a575891211eff545bab1e4de5e2b7adf4a4c1da (diff) | |
Diffstat (limited to 'sys/compat/linuxkpi/common/include')
| -rw-r--r-- | sys/compat/linuxkpi/common/include/linux/minmax.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/minmax.h b/sys/compat/linuxkpi/common/include/linux/minmax.h index d48958f0899f..fb8eb6f704b4 100644 --- a/sys/compat/linuxkpi/common/include/linux/minmax.h +++ b/sys/compat/linuxkpi/common/include/linux/minmax.h @@ -71,4 +71,7 @@ b = _swap_tmp; \ } while (0) +/* XXX would have to make sure both are unsigned. */ +#define umin(x, y) MIN(x, y) + #endif /* _LINUXKPI_LINUX_MINMAX_H_ */ |
