File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ static void default_trap(int code, struct pt_regs *regs)
338
338
void (* cpu_lpmc ) (int code , struct pt_regs * regs ) __read_mostly = default_trap ;
339
339
340
340
341
- void transfer_pim_to_trap_frame (struct pt_regs * regs )
341
+ static void transfer_pim_to_trap_frame (struct pt_regs * regs )
342
342
{
343
343
register int i ;
344
344
extern unsigned int hpmc_pim_data [];
@@ -800,14 +800,13 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
800
800
}
801
801
802
802
803
- void __init initialize_ivt (const void * iva )
803
+ static void __init initialize_ivt (const void * iva )
804
804
{
805
805
extern const u32 os_hpmc [];
806
806
807
807
int i ;
808
808
u32 check = 0 ;
809
809
u32 * ivap ;
810
- u32 * hpmcp ;
811
810
u32 instr ;
812
811
813
812
if (strcmp ((const char * )iva , "cows can fly" ))
@@ -840,8 +839,6 @@ void __init initialize_ivt(const void *iva)
840
839
/* Setup IVA and compute checksum for HPMC handler */
841
840
ivap [6 ] = (u32 )__pa (os_hpmc );
842
841
843
- hpmcp = (u32 * )os_hpmc ;
844
-
845
842
for (i = 0 ; i < 8 ; i ++ )
846
843
check += ivap [i ];
847
844
You can’t perform that action at this time.
0 commit comments