uninline some functions which have multiple callsites. A 5% reduction in text size. fs/binfmt_elf.c | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff -puN fs/binfmt_elf.c~uninline-binfmt_elf fs/binfmt_elf.c --- 25/fs/binfmt_elf.c~uninline-binfmt_elf 2003-03-04 22:05:09.000000000 -0800 +++ 25-akpm/fs/binfmt_elf.c 2003-03-04 22:05:09.000000000 -0800 @@ -256,8 +256,8 @@ create_elf_tables(struct linux_binprm *b #ifndef elf_map -static inline unsigned long -elf_map (struct file *filep, unsigned long addr, struct elf_phdr *eppnt, int prot, int type) +static unsigned long elf_map(struct file *filep, unsigned long addr, + struct elf_phdr *eppnt, int prot, int type) { unsigned long map_addr; @@ -941,7 +941,7 @@ static int dump_seek(struct file *file, * * I think we should skip something. But I am not sure how. H.J. */ -static inline int maydump(struct vm_area_struct *vma) +static int maydump(struct vm_area_struct *vma) { /* * If we may not read the contents, don't allow us to dump @@ -1053,7 +1053,7 @@ static inline void fill_elf_note_phdr(st return; } -static inline void fill_note(struct memelfnote *note, const char *name, int type, +static void fill_note(struct memelfnote *note, const char *name, int type, unsigned int sz, void *data) { note->name = name; @@ -1067,7 +1067,8 @@ static inline void fill_note(struct meme * fill up all the fields in prstatus from the given task struct, except registers * which need to be filled up separately. */ -static inline void fill_prstatus(struct elf_prstatus *prstatus, struct task_struct *p, long signr) +static void fill_prstatus(struct elf_prstatus *prstatus, + struct task_struct *p, long signr) { prstatus->pr_info.si_signo = prstatus->pr_cursig = signr; prstatus->pr_sigpend = p->pending.signal.sig[0]; @@ -1082,7 +1083,7 @@ static inline void fill_prstatus(struct jiffies_to_timeval(p->cstime, &prstatus->pr_cstime); } -static inline void fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p) +static void fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p) { int i, len; _