diff options
author | Helge Deller <deller@gmx.de> | 2023-06-30 12:39:03 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-06-30 17:14:15 +0200 |
commit | 7def4239e5eb17c7dee73f42f09b76d9b5f44e3f (patch) | |
tree | f7c893575694b1d03ab0ddb3b445176622514bf3 | |
parent | 5f0c791dcd3c7d324f2fa14f228bdcd156730015 (diff) | |
download | linux-7def4239e5eb17c7dee73f42f09b76d9b5f44e3f.tar.gz linux-7def4239e5eb17c7dee73f42f09b76d9b5f44e3f.tar.bz2 linux-7def4239e5eb17c7dee73f42f09b76d9b5f44e3f.zip |
parisc: traps: Mark functions static
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | arch/parisc/kernel/traps.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c index 304eebd1c83e..3b97944c7291 100644 --- a/arch/parisc/kernel/traps.c +++ b/arch/parisc/kernel/traps.c @@ -338,7 +338,7 @@ static void default_trap(int code, struct pt_regs *regs) void (*cpu_lpmc) (int code, struct pt_regs *regs) __read_mostly = default_trap; -void transfer_pim_to_trap_frame(struct pt_regs *regs) +static void transfer_pim_to_trap_frame(struct pt_regs *regs) { register int i; extern unsigned int hpmc_pim_data[]; @@ -800,14 +800,13 @@ void notrace handle_interruption(int code, struct pt_regs *regs) } -void __init initialize_ivt(const void *iva) +static void __init initialize_ivt(const void *iva) { extern const u32 os_hpmc[]; int i; u32 check = 0; u32 *ivap; - u32 *hpmcp; u32 instr; if (strcmp((const char *)iva, "cows can fly")) @@ -840,8 +839,6 @@ void __init initialize_ivt(const void *iva) /* Setup IVA and compute checksum for HPMC handler */ ivap[6] = (u32)__pa(os_hpmc); - hpmcp = (u32 *)os_hpmc; - for (i=0; i<8; i++) check += ivap[i]; |