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

2024-01-02 Thread Sascha Hauer
On Mon, Jan 01, 2024 at 02:23:59PM +0300, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov 
> ---
>  arch/mips/include/asm/pbl_nmon.h | 5 +
>  1 file changed, 5 insertions(+)

Applied, thanks

Sascha

> 
> 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 
>   */
>  
> +#ifndef __ASM_PBL_NMON_H
> +#define __ASM_PBL_NMON_H
> +
>  #include 
>  
>  #define CODE_ESC 0x1b
> @@ -286,3 +289,5 @@
>  #endif /* CONFIG_NMON */
>   .setpop
>   .endm
> +
> +#endif /* __ASM_PBL_NMON_H */
> -- 
> 2.39.0
> 
> 

-- 
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- |



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

2024-01-01 Thread Antony Pavlov
Signed-off-by: Antony Pavlov 
---
 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 
  */
 
+#ifndef __ASM_PBL_NMON_H
+#define __ASM_PBL_NMON_H
+
 #include 
 
 #define CODE_ESC   0x1b
@@ -286,3 +289,5 @@
 #endif /* CONFIG_NMON */
.setpop
.endm
+
+#endif /* __ASM_PBL_NMON_H */
-- 
2.39.0