Skip to contentSkip to conversation

MIPS: asm/pbl_nmon.h: add guard macro

PATCH Applied Antony Pavlov 2 participants 2 messages Jan 1, 2024 – Jan 2, 2024 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: asm/pbl_nmon.h: add guard macro

---
 arch/mips/include/asm/pbl_nmon.h | 5 +++++
 1 file changed, 5 insertions(+)
arch/mips/include/asm/pbl_nmon.h +5 -0
index 7c8ec9d204f..73e4a9d2e9c 100644
@@ -5,6 +5,9 @@
  * Copyright (C) 2013 Antony Pavlov <[email protected]>
  */
 
+#ifndef __ASM_PBL_NMON_H
+#define __ASM_PBL_NMON_H
+
 #include <mach/debug_ll.h>
 
 #define CODE_ESC	0x1b
@@ -286,3 +289,5 @@
 #endif /* CONFIG_NMON */
 	.set	pop
 	.endm
+
+#endif /* __ASM_PBL_NMON_H */
Signature · 1 line
2.39.0
Applied
#1 lore raw
Quoted 4 lines · Antony Pavlov
---
 arch/mips/include/asm/pbl_nmon.h | 5 +++++
 1 file changed, 5 insertions(+)

Applied, thanks

Sascha

Quoted 25 lines
arch/mips/include/asm/pbl_nmon.h +5 -0
index 7c8ec9d204f..73e4a9d2e9c 100644
@@ -5,6 +5,9 @@
  * Copyright (C) 2013 Antony Pavlov <[email protected]>
  */
 
+#ifndef __ASM_PBL_NMON_H
+#define __ASM_PBL_NMON_H
+
 #include <mach/debug_ll.h>
 
 #define CODE_ESC	0x1b
@@ -286,3 +289,5 @@
 #endif /* CONFIG_NMON */
 	.set	pop
 	.endm
+
+#endif /* __ASM_PBL_NMON_H */
Signature · 1 line
2.39.0
Signature · 4 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |