Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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.com


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 9ffecb10
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: