[PATCH] Unlinline a bunch of other functions
Remove the "inline" keyword from a bunch of big functions in the kernel with the goal of shrinking it by 30kb to 40kb Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Acked-by: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
b0a9499c3d
commit
858119e159
@@ -1218,7 +1218,7 @@ static int writenote(struct memelfnote *men, struct file *file)
|
||||
if (!dump_seek(file, (off))) \
|
||||
goto end_coredump;
|
||||
|
||||
static inline void fill_elf_header(struct elfhdr *elf, int segs)
|
||||
static void fill_elf_header(struct elfhdr *elf, int segs)
|
||||
{
|
||||
memcpy(elf->e_ident, ELFMAG, SELFMAG);
|
||||
elf->e_ident[EI_CLASS] = ELF_CLASS;
|
||||
@@ -1243,7 +1243,7 @@ static inline void fill_elf_header(struct elfhdr *elf, int segs)
|
||||
return;
|
||||
}
|
||||
|
||||
static inline void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, off_t offset)
|
||||
static void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, off_t offset)
|
||||
{
|
||||
phdr->p_type = PT_NOTE;
|
||||
phdr->p_offset = offset;
|
||||
|
||||
Reference in New Issue
Block a user