Skip to contentSkip to conversation

x86: kernel/tls.h: Add missing #define

PATCH New Rasmus Villemoes 1 participant 3 messages Aug 22, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 x86: kernel/tls.h: Add missing #define

The macro name suggests that the include guard idiom was meant, but the #define was missing.

---
 arch/x86/kernel/tls.h | 1 +
 1 file changed, 1 insertion(+)
arch/x86/kernel/tls.h +1 -0
index 2f083a2..a18e48b 100644
@@ -11,6 +11,7 @@
  */
 
 #ifndef _ARCH_X86_KERNEL_TLS_H
+#define _ARCH_X86_KERNEL_TLS_H
 
 #include <linux/regset.h>
 
Signature · 1 line
1.9.2
#1 lore raw

PATCH 2/3 x86: xen/mmu.h: Add missing #define

The #define is missing from the include guard idiom.

---
 arch/x86/xen/mmu.h | 1 +
 1 file changed, 1 insertion(+)
arch/x86/xen/mmu.h +1 -0
index 73809bb..0675f8c 100644
@@ -1,4 +1,5 @@
 #ifndef _XEN_MMU_H
+#define _XEN_MMU_H
 
 #include <linux/linkage.h>
 #include <asm/page.h>
Signature · 1 line
1.9.2
#2 lore raw

PATCH 3/3 x86: xen/smp.h: Add missing #define

In reply to Rasmus Villemoes

The #define is missing from the include guard idiom.

---
 arch/x86/xen/smp.h | 1 +
 1 file changed, 1 insertion(+)
arch/x86/xen/smp.h +1 -0
index c7c2d89..b4f1561 100644
@@ -1,4 +1,5 @@
 #ifndef _XEN_SMP_H
+#define _XEN_SMP_H
 
 extern void xen_send_IPI_mask(const struct cpumask *mask,
 			      int vector);
Signature · 1 line
1.9.2