Displaying 3 results from an estimated 3 matches for "d33ef165b1f8".
2016 Dec 16
2
[PATCH] x86/paravirt: hide unused patch_default label
...Fix native_patch()")
Signed-off-by: Arnd Bergmann <arnd at arndb.de>
---
arch/x86/kernel/paravirt_patch_32.c | 2 ++
arch/x86/kernel/paravirt_patch_64.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/arch/x86/kernel/paravirt_patch_32.c b/arch/x86/kernel/paravirt_patch_32.c
index d33ef165b1f8..2b729b1df391 100644
--- a/arch/x86/kernel/paravirt_patch_32.c
+++ b/arch/x86/kernel/paravirt_patch_32.c
@@ -68,7 +68,9 @@ unsigned native_patch(u8 type, u16 clobbers, void *ibuf,
#endif
default:
+#if defined(CONFIG_PARAVIRT_SPINLOCKS)
patch_default:
+#endif
ret = paravirt_patch_default(ty...
2016 Dec 16
2
[PATCH] x86/paravirt: hide unused patch_default label
...Fix native_patch()")
Signed-off-by: Arnd Bergmann <arnd at arndb.de>
---
arch/x86/kernel/paravirt_patch_32.c | 2 ++
arch/x86/kernel/paravirt_patch_64.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/arch/x86/kernel/paravirt_patch_32.c b/arch/x86/kernel/paravirt_patch_32.c
index d33ef165b1f8..2b729b1df391 100644
--- a/arch/x86/kernel/paravirt_patch_32.c
+++ b/arch/x86/kernel/paravirt_patch_32.c
@@ -68,7 +68,9 @@ unsigned native_patch(u8 type, u16 clobbers, void *ibuf,
#endif
default:
+#if defined(CONFIG_PARAVIRT_SPINLOCKS)
patch_default:
+#endif
ret = paravirt_patch_default(ty...
2016 Dec 16
0
[PATCH] x86/paravirt: hide unused patch_default label
....de>
> ---
This seems to work as well and is less invasive
arch/x86/kernel/paravirt_patch_32.c | 2 +-
arch/x86/kernel/paravirt_patch_64.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/paravirt_patch_32.c b/arch/x86/kernel/paravirt_patch_32.c
index d33ef165b1f8..553acbbb4d32 100644
--- a/arch/x86/kernel/paravirt_patch_32.c
+++ b/arch/x86/kernel/paravirt_patch_32.c
@@ -68,7 +68,7 @@ unsigned native_patch(u8 type, u16 clobbers, void *ibuf,
#endif
default:
-patch_default:
+patch_default: __maybe_unused
ret = paravirt_patch_default(type, clobbers, ibu...