diff options
author | hselasky <hselasky@FreeBSD.org> | 2014-12-05 12:04:47 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2014-12-05 12:04:47 +0000 |
commit | eccb719b3b554b8e509710a7e6459161829a3d1d (patch) | |
tree | 5cc356fa5acfba9b3bda4c385c845d62f96208b7 /sys/boot | |
parent | f68d5de62f4e8609789103416ae21048723ccd8b (diff) | |
download | FreeBSD-src-eccb719b3b554b8e509710a7e6459161829a3d1d.zip FreeBSD-src-eccb719b3b554b8e509710a7e6459161829a3d1d.tar.gz |
Define the ffs() function in the USB bootloader's global and
independent header file.
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/kshim/bsd_kernel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/kshim/bsd_kernel.h b/sys/boot/kshim/bsd_kernel.h index 975211e..0e40fb0 100644 --- a/sys/boot/kshim/bsd_kernel.h +++ b/sys/boot/kshim/bsd_kernel.h @@ -109,6 +109,8 @@ SYSINIT_ENTRY(uniq##_entry, "sysuninit", (subs), \ #define cold 0 #define BUS_PROBE_GENERIC 0 #define CALLOUT_RETURNUNLOCKED 0x1 +#undef ffs +#define ffs(x) __builtin_ffs(x) #undef va_list #define va_list __builtin_va_list #undef va_size |