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

Sascha Hauer s.hauer at pengutronix.de
Tue Jan 2 01:16:12 PST 2024


On Mon, Jan 01, 2024 at 02:23:59PM +0300, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> ---
>  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 <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
> 
> 

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



More information about the barebox mailing list