Remove cpu_pfr from arm. It's unused.

This commit is contained in:
andrew 2018-08-14 16:01:25 +00:00
parent 60b658b495
commit 09c72a94ea
2 changed files with 0 additions and 22 deletions

View File

@ -252,27 +252,6 @@ print_enadis(int enadis, char *s)
enum cpu_class cpu_class = CPU_CLASS_NONE;
u_int cpu_pfr(int num)
{
u_int feat;
switch (num) {
case 0:
__asm __volatile("mrc p15, 0, %0, c0, c1, 0"
: "=r" (feat));
break;
case 1:
__asm __volatile("mrc p15, 0, %0, c0, c1, 1"
: "=r" (feat));
break;
default:
panic("Processor Feature Register %d not implemented", num);
break;
}
return (feat);
}
void
identify_arm_cpu(void)
{

View File

@ -210,7 +210,6 @@ int set_cpufuncs (void);
void cpufunc_nullop (void);
u_int cpufunc_control (u_int clear, u_int bic);
void cpu_domains (u_int domains);
u_int cpu_pfr (int);
#if defined(CPU_ARM9E)
void arm9_tlb_flushID_SE (u_int va);