Skip to content

Commit e6e5f84

Browse files
dvlasenkKAGA-KOKO
authored andcommitted
x86/e820: Deinline e820_type_to_string, save 126 bytes
This function compiles to 102 bytes of machine code. It has two callsites. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Link: http://lkml.kernel.org/r/1443443037-22077-2-git-send-email-dvlasenk@redhat.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent 9ffecb1 commit e6e5f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/e820.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ void __init finish_e820_parsing(void)
911911
}
912912
}
913913

914-
static inline const char *e820_type_to_string(int e820_type)
914+
static const char *e820_type_to_string(int e820_type)
915915
{
916916
switch (e820_type) {
917917
case E820_RESERVED_KERN:

0 commit comments

Comments
 (0)