diff options
author | gleb <gleb@FreeBSD.org> | 2012-05-25 09:36:39 +0000 |
---|---|---|
committer | gleb <gleb@FreeBSD.org> | 2012-05-25 09:36:39 +0000 |
commit | 2dc26af4447ddf75f00ee32933b59022bffa31a6 (patch) | |
tree | b96ac54d1a86e70ab6e3af1f4c959eee6dc450ac /sys/boot/powerpc | |
parent | 02feec4a4507f678cfd5036cbb906dcc9908b6ba (diff) | |
download | FreeBSD-src-2dc26af4447ddf75f00ee32933b59022bffa31a6.zip FreeBSD-src-2dc26af4447ddf75f00ee32933b59022bffa31a6.tar.gz |
Use 32-bit ufs_ino_t instead of ino_t to keep boot2 small and prevent
unnecessary 64-bit math on 32-bit machines.
Sponsored by: Google Summer of Code 2011
Diffstat (limited to 'sys/boot/powerpc')
-rw-r--r-- | sys/boot/powerpc/boot1.chrp/boot1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/boot/powerpc/boot1.chrp/boot1.c b/sys/boot/powerpc/boot1.chrp/boot1.c index 5ad405b..ff99ce6 100644 --- a/sys/boot/powerpc/boot1.chrp/boot1.c +++ b/sys/boot/powerpc/boot1.chrp/boot1.c @@ -45,7 +45,6 @@ static char bootargs[128]; static ofwh_t bootdev; static struct fs fs; -static ino_t inomap; static char blkbuf[BSIZEMAX]; static unsigned int fsblks; @@ -492,7 +491,7 @@ load(const char *fname) Elf32_Ehdr eh; Elf32_Phdr ph; caddr_t p; - ino_t ino; + ufs_ino_t ino; int i; if ((ino = lookup(fname)) == 0) { |