[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-e05196401657cff3178dc392b739e520b26d4aef@git.kernel.org>
Date: Fri, 24 May 2019 00:58:03 -0700
From: tip-bot for Thomas Gleixner <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: bp@...en8.de, jgross@...e.com, brgerst@...il.com,
peterz@...radead.org, riel@...riel.com, tglx@...utronix.de,
luto@...nel.org, hpa@...or.com, mingo@...nel.org,
torvalds@...ux-foundation.org, dvlasenk@...hat.com,
linux-kernel@...r.kernel.org, dave.hansen@...ux.intel.com
Subject: [tip:x86/paravirt] x86/paravirt: Remove bogus extern declarations
Commit-ID: e05196401657cff3178dc392b739e520b26d4aef
Gitweb: https://git.kernel.org/tip/e05196401657cff3178dc392b739e520b26d4aef
Author: Thomas Gleixner <tglx@...utronix.de>
AuthorDate: Wed, 24 Apr 2019 15:41:16 +0200
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Thu, 25 Apr 2019 11:35:55 +0200
x86/paravirt: Remove bogus extern declarations
These functions are already declared in asm/paravirt.h
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Andy Lutomirski <luto@...nel.org>
Cc: Borislav Petkov <bp@...en8.de>
Cc: Brian Gerst <brgerst@...il.com>
Cc: Dave Hansen <dave.hansen@...ux.intel.com>
Cc: Denys Vlasenko <dvlasenk@...hat.com>
Cc: H. Peter Anvin <hpa@...or.com>
Cc: Juergen Gross <jgross@...e.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Rik van Riel <riel@...riel.com>
Link: http://lkml.kernel.org/r/20190424134223.501598258@linutronix.de
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/x86/kernel/paravirt_patch_32.c | 3 ---
arch/x86/kernel/paravirt_patch_64.c | 3 ---
2 files changed, 6 deletions(-)
diff --git a/arch/x86/kernel/paravirt_patch_32.c b/arch/x86/kernel/paravirt_patch_32.c
index de138d3912e4..05d771f81e74 100644
--- a/arch/x86/kernel/paravirt_patch_32.c
+++ b/arch/x86/kernel/paravirt_patch_32.c
@@ -23,9 +23,6 @@ DEF_NATIVE(lock, queued_spin_unlock, "movb $0, (%eax)");
DEF_NATIVE(lock, vcpu_is_preempted, "xor %eax, %eax");
#endif
-extern bool pv_is_native_spin_unlock(void);
-extern bool pv_is_native_vcpu_is_preempted(void);
-
unsigned native_patch(u8 type, void *ibuf, unsigned long addr, unsigned len)
{
#define PATCH_SITE(ops, x) \
diff --git a/arch/x86/kernel/paravirt_patch_64.c b/arch/x86/kernel/paravirt_patch_64.c
index 9d9e04b31077..bd1558f90cfb 100644
--- a/arch/x86/kernel/paravirt_patch_64.c
+++ b/arch/x86/kernel/paravirt_patch_64.c
@@ -29,9 +29,6 @@ DEF_NATIVE(lock, queued_spin_unlock, "movb $0, (%rdi)");
DEF_NATIVE(lock, vcpu_is_preempted, "xor %eax, %eax");
#endif
-extern bool pv_is_native_spin_unlock(void);
-extern bool pv_is_native_vcpu_is_preempted(void);
-
unsigned native_patch(u8 type, void *ibuf, unsigned long addr, unsigned len)
{
#define PATCH_SITE(ops, x) \
Powered by blists - more mailing lists