summaryrefslogtreecommitdiffstats
path: root/sys/boot/ofw
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-11-02 00:26:45 +0000
committermarcel <marcel@FreeBSD.org>2006-11-02 00:26:45 +0000
commit342a196627392c808be27a4df1e402e127c19a0a (patch)
tree47949f724fc6abd132515557c85706342b9f7e4d /sys/boot/ofw
parente9bd2a214c5d2115ed906a577a04c8f71f8cae85 (diff)
downloadFreeBSD-src-342a196627392c808be27a4df1e402e127c19a0a.zip
FreeBSD-src-342a196627392c808be27a4df1e402e127c19a0a.tar.gz
Don't unconditionally compile-in the bcache code. It's only used on
i386/amd64 and pc98. Remove useless calls to bcache_init() from the ia64 and sparc64 loaders, as well as from the OFW common code.
Diffstat (limited to 'sys/boot/ofw')
-rw-r--r--sys/boot/ofw/common/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/boot/ofw/common/main.c b/sys/boot/ofw/common/main.c
index 2fdd293..2a6dd1c 100644
--- a/sys/boot/ofw/common/main.c
+++ b/sys/boot/ofw/common/main.c
@@ -125,11 +125,6 @@ main(int (*openfirm)(void *))
init_heap();
/*
- * Initialise the block cache
- */
- bcache_init(32, 512); /* 16k XXX tune this */
-
- /*
* March through the device switch probing for things.
*/
for (i = 0; devsw[i] != NULL; i++)
OpenPOWER on IntegriCloud