Remove cpu_pfr from arm. It's unused.
This commit is contained in:
parent
60b658b495
commit
09c72a94ea
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user