From cca9a263e3b1e9030e47f6840b50348ce4732702 Mon Sep 17 00:00:00 2001 From: Kip Macy Date: Mon, 27 Nov 2006 02:17:33 +0000 Subject: [PATCH] tte hash resizing may be causing errors when building - disable for now --- sys/sun4v/sun4v/tte_hash.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sun4v/sun4v/tte_hash.c b/sys/sun4v/sun4v/tte_hash.c index d25f15f6f865..098f6957edc8 100644 --- a/sys/sun4v/sun4v/tte_hash.c +++ b/sys/sun4v/sun4v/tte_hash.c @@ -615,6 +615,8 @@ tte_hash_update(tte_hash_t th, vm_offset_t va, tte_t tte_data) int tte_hash_needs_resize(tte_hash_t th) { + return (0); /* XXX disabel resize for the moment */ + return ((th->th_entries > (1 << (th->th_shift + PAGE_SHIFT - TTE_SHIFT + 1))) && (th != &kernel_tte_hash)); }