1
0
Fork 0

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>
hifive-unleashed-5.1
Denys Vlasenko 2015-09-28 14:23:55 +02:00 committed by Thomas Gleixner
parent 9ffecb1028
commit e6e5f84092
1 changed files with 1 additions and 1 deletions

View File

@ -911,7 +911,7 @@ void __init finish_e820_parsing(void)
}
}
static inline const char *e820_type_to_string(int e820_type)
static const char *e820_type_to_string(int e820_type)
{
switch (e820_type) {
case E820_RESERVED_KERN: