freebsd-dev/sys/ia64/include
Peter Wemm 2f9267ec23 Move the "- 1" into the RQB_FFS(mask) macro itself so that
implementations can provide a base zero ffs function if they wish.
This changes
  #define RQB_FFS(mask) (ffs64(mask))
  foo = RQB_FFS(mask) - 1;
to
  #define RQB_FFS(mask) (ffs64(mask) - 1)
  foo = RQB_FFS(mask);
On some platforms we can get the "- 1" for free, eg: those that use the
C code for ffs64().

Reviewed by:	jake (in principle)
2002-06-20 06:21:20 +00:00
..
pc
_inttypes.h
_limits.h
ansi.h
asm.h
atomic.h
bootinfo.h
bus_memio.h
bus_pio.h
bus.h
clock.h
clockvar.h
cpu.h
cpufunc.h
critical.h
db_machdep.h
efi.h
elf.h Move the definition of ElfN_Hashelt to common headers. The only platform 2002-05-30 08:32:18 +00:00
endian.h
exec.h
float.h
floatingpoint.h
fpu.h
frame.h
ia64_cpu.h
ieee.h
ieeefp.h
in_cksum.h
inst.h
intr.h
intrcnt.h
ioctl_bt848.h
ioctl_meteor.h
limits.h
mca.h
md_var.h
mutex.h
nexusvar.h
pal.h
param.h
pcb.h
pci_cfgreg.h
pcpu.h
pmap.h
proc.h
profile.h
pte.h
ptrace.h
reg.h
reloc.h
resource.h
rse.h
runq.h Move the "- 1" into the RQB_FFS(mask) macro itself so that 2002-06-20 06:21:20 +00:00
sal.h
sapicreg.h
sapicvar.h
setjmp.h
sigframe.h
signal.h
smp.h
stdarg.h
sysarch.h
types.h
ucontext.h
unwind.h
varargs.h
vmparam.h