Commit e6e5f840 authored by Denys Vlasenko's avatar Denys Vlasenko Committed by Thomas Gleixner

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: default avatarDenys 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.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 9ffecb10
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment