···155155};156156157157static void release_progmem(void *ptr);158158-extern void save_gp_address(unsigned int secbase, unsigned int rel);159158160159/* get the vpe associated with this minor */161161-struct vpe *get_vpe(int minor)160160+static struct vpe *get_vpe(int minor)162161{163162 struct vpe *v;164163···173174}174175175176/* get the vpe associated with this minor */176176-struct tc *get_tc(int index)177177+static struct tc *get_tc(int index)177178{178179 struct tc *t;179180···198199}199200200201/* allocate a vpe and associate it with this minor (or index) */201201-struct vpe *alloc_vpe(int minor)202202+static struct vpe *alloc_vpe(int minor)202203{203204 struct vpe *v;204205···215216}216217217218/* allocate a tc. At startup only tc0 is running, all other can be halted. */218218-struct tc *alloc_tc(int index)219219+static struct tc *alloc_tc(int index)219220{220221 struct tc *tc;221222···231232}232233233234/* clean up and free everything */234234-void release_vpe(struct vpe *v)235235+static void release_vpe(struct vpe *v)235236{236237 list_del(&v->list);237238 if (v->load_addr)···239240 kfree(v);240241}241242242242-void dump_mtregs(void)243243+static void dump_mtregs(void)243244{244245 unsigned long val;245246···550551 [R_MIPS_PC16] = "MIPS_PC16"551552};552553553553-int apply_relocations(Elf32_Shdr *sechdrs,554554+static int apply_relocations(Elf32_Shdr *sechdrs,554555 const char *strtab,555556 unsigned int symindex,556557 unsigned int relsec,···595596 return 0;596597}597598598598-void save_gp_address(unsigned int secbase, unsigned int rel)599599+static inline void save_gp_address(unsigned int secbase, unsigned int rel)599600{600601 gp_addr = secbase + rel;601602 gp_offs = gp_addr - (secbase & 0xffff0000);