]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use the smaller cgbase() macro in ufsread.c if UFS_SMALL_CGBASE is
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 26 Oct 2007 21:02:31 +0000 (21:02 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 26 Oct 2007 21:02:31 +0000 (21:02 +0000)
commitfd6d060f0d12a20853b87492061a931c29b1f29c
treeae0ae4a3fd1580506ca25b1f4ffb197a81d3dc02
parent554314911cee72b5cebdbbe72f612d07690565c9
Use the smaller cgbase() macro in ufsread.c if UFS_SMALL_CGBASE is
defined.  This lets each boot program choose which version of cgbase() it
wants to use rather than forcing ufsread.c to have that knowledge.

MFC after: 1 week
Discussed with: imp
sys/boot/arm/at91/boot2/boot2.c
sys/boot/common/ufsread.c
sys/boot/i386/boot2/boot2.c
sys/boot/i386/gptboot/gptboot.c