linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/apic: Deinline __x2apic_disable, save 467 bytes
@ 2015-09-28 12:23 Denys Vlasenko
  2015-09-28 12:23 ` [PATCH] x86: Deinline e820_type_to_string, save 126 bytes Denys Vlasenko
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Denys Vlasenko @ 2015-09-28 12:23 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Denys Vlasenko, Andy Lutomirski, H. Peter Anvin, Borislav Petkov,
	Brian Gerst, x86, linux-kernel

This function compiles to 186 bytes of machine code.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
CC: Ingo Molnar <mingo@kernel.org>
CC: Andy Lutomirski <luto@amacapital.net>
CC: "H. Peter Anvin" <hpa@zytor.com>
CC: Borislav Petkov <bp@alien8.de>
CC: Brian Gerst <brgerst@gmail.com>
CC: x86@kernel.org
CC: linux-kernel@vger.kernel.org
---
 arch/x86/kernel/apic/apic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index f49a956..78c0160 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -1431,7 +1431,7 @@ enum {
 };
 static int x2apic_state;
 
-static inline void __x2apic_disable(void)
+static void __x2apic_disable(void)
 {
 	u64 msr;
 
-- 
1.8.1.4


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-09-30 19:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-28 12:23 [PATCH] x86/apic: Deinline __x2apic_disable, save 467 bytes Denys Vlasenko
2015-09-28 12:23 ` [PATCH] x86: Deinline e820_type_to_string, save 126 bytes Denys Vlasenko
2015-09-30 19:57   ` [tip:x86/cleanups] x86/e820: " tip-bot for Denys Vlasenko
2015-09-28 12:23 ` [PATCH] x86: Deinline early_console_register, save 403 bytes Denys Vlasenko
2015-09-30 19:57   ` [tip:x86/cleanups] " tip-bot for Denys Vlasenko
2015-09-28 12:23 ` [PATCH] x86/signal: Deinline get_sigframe, save 240 bytes Denys Vlasenko
2015-09-28 12:33   ` H. Peter Anvin
2015-09-28 13:43     ` Denys Vlasenko
2015-09-28 20:24       ` Davidlohr Bueso
2015-09-29 18:54         ` Thomas Gleixner
2015-09-30 19:58   ` [tip:x86/cleanups] " tip-bot for Denys Vlasenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).