diff options
author | jhb <jhb@FreeBSD.org> | 2007-10-26 21:02:31 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-10-26 21:02:31 +0000 |
commit | a7b201ee6db690a943f72f7aa1bd186bc167fe2e (patch) | |
tree | ae0ae4a3fd1580506ca25b1f4ffb197a81d3dc02 /sys/boot/arm | |
parent | 69326388218cd5b94b8d74edbdb9fac55920faba (diff) | |
download | FreeBSD-src-a7b201ee6db690a943f72f7aa1bd186bc167fe2e.zip FreeBSD-src-a7b201ee6db690a943f72f7aa1bd186bc167fe2e.tar.gz |
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
Diffstat (limited to 'sys/boot/arm')
-rw-r--r-- | sys/boot/arm/at91/boot2/boot2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/arm/at91/boot2/boot2.c b/sys/boot/arm/at91/boot2/boot2.c index 379bfe1..fb2bcfe 100644 --- a/sys/boot/arm/at91/boot2/boot2.c +++ b/sys/boot/arm/at91/boot2/boot2.c @@ -93,6 +93,7 @@ static int parse(void); static int xfsread(ino_t, void *, size_t); static int dskread(void *, unsigned, unsigned); +#define UFS_SMALL_CGBASE #include "ufsread.c" static inline int |