mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
parisc: traps: Mark functions static
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
@@ -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 (*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;
|
register int i;
|
||||||
extern unsigned int hpmc_pim_data[];
|
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[];
|
extern const u32 os_hpmc[];
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
u32 check = 0;
|
u32 check = 0;
|
||||||
u32 *ivap;
|
u32 *ivap;
|
||||||
u32 *hpmcp;
|
|
||||||
u32 instr;
|
u32 instr;
|
||||||
|
|
||||||
if (strcmp((const char *)iva, "cows can fly"))
|
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 */
|
/* Setup IVA and compute checksum for HPMC handler */
|
||||||
ivap[6] = (u32)__pa(os_hpmc);
|
ivap[6] = (u32)__pa(os_hpmc);
|
||||||
|
|
||||||
hpmcp = (u32 *)os_hpmc;
|
|
||||||
|
|
||||||
for (i=0; i<8; i++)
|
for (i=0; i<8; i++)
|
||||||
check += ivap[i];
|
check += ivap[i];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user