[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-8848a91068c018bc91f597038a0f41462a0f88a4@git.kernel.org>
Date: Wed, 18 Aug 2010 20:55:30 GMT
From: "tip-bot for H. Peter Anvin" <hpa@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
joerg.roedel@....com, tglx@...utronix.de, borislav.petkov@....com
Subject: [tip:x86/urgent] x86-32: Fix dummy trampoline-related inline stubs
Commit-ID: 8848a91068c018bc91f597038a0f41462a0f88a4
Gitweb: http://git.kernel.org/tip/8848a91068c018bc91f597038a0f41462a0f88a4
Author: H. Peter Anvin <hpa@...or.com>
AuthorDate: Wed, 18 Aug 2010 11:42:23 -0700
Committer: H. Peter Anvin <hpa@...or.com>
CommitDate: Wed, 18 Aug 2010 12:42:24 -0700
x86-32: Fix dummy trampoline-related inline stubs
Fix dummy inline stubs for trampoline-related functions when no
trampolines exist (until we get rid of the no-trampoline case
entirely.)
Signed-off-by: H. Peter Anvin <hpa@...or.com>
Cc: Joerg Roedel <joerg.roedel@....com>
Cc: Borislav Petkov <borislav.petkov@....com>
LKML-Reference: <4C6C294D.3030404@...or.com>
---
arch/x86/include/asm/trampoline.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/include/asm/trampoline.h b/arch/x86/include/asm/trampoline.h
index 8f78fdf..4dde797 100644
--- a/arch/x86/include/asm/trampoline.h
+++ b/arch/x86/include/asm/trampoline.h
@@ -22,8 +22,8 @@ extern unsigned long setup_trampoline(void);
extern void __init setup_trampoline_page_table(void);
extern void __init reserve_trampoline_memory(void);
#else
-static inline void reserve_trampoline_memory(void) {};
-extern void __init setup_trampoline_page_table(void) {};
+static inline void setup_trampoline_page_table(void) {}
+static inline void reserve_trampoline_memory(void) {}
#endif /* CONFIG_X86_TRAMPOLINE */
#endif /* __ASSEMBLY__ */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists