[PATCH] MIPS: asm/pbl_nmon.h: add guard macro

Antony Pavlov antonynpavlov at gmail.com
Mon Jan 1 03:23:59 PST 2024


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 arch/mips/include/asm/pbl_nmon.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/mips/include/asm/pbl_nmon.h b/arch/mips/include/asm/pbl_nmon.h
index 7c8ec9d204f..73e4a9d2e9c 100644
--- a/arch/mips/include/asm/pbl_nmon.h
+++ b/arch/mips/include/asm/pbl_nmon.h
@@ -5,6 +5,9 @@
  * Copyright (C) 2013 Antony Pavlov <antonynpavlov at gmail.com>
  */
 
+#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 */
-- 
2.39.0




More information about the barebox mailing list