Commit 471037e2 authored by Finn Thain's avatar Finn Thain Committed by Geert Uytterhoeven
Browse files
parent 266994e3
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -304,21 +304,6 @@ void via_l2_flush(int writeback)
	local_irq_restore(flags);
}

/*
 * Return the status of the L2 cache on a IIci
 */

int via_get_cache_disable(void)
{
	/* Safeguard against being called accidentally */
	if (!via2) {
		printk(KERN_ERR "via_get_cache_disable called on a non-VIA machine!\n");
		return 1;
	}

	return (int) via2[gBufB] & VIA2B_vCDis;
}

/*
 * Initialize VIA2 for Nubus access
 */