/* Needed to print out L2 cache info used in the misc_init_r function  */
unsigned long get_l2cr(void)
/* Needed to print out L2 cache info used in the misc_init_r function  */
unsigned long get_l2cr(void)
{
	unsigned long l2controlreg;
	asm volatile ("mfspr %0, 1017":"=r" (l2controlreg):);
	return l2controlreg;
}