Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] MIPS: remove unused <asm/cmp.h> header
@ 2026-09-18  6:06 Ethan Nelson-Moore
  2026-09-26  9:40 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 2+ messages in thread
From: Ethan Nelson-Moore @ 2026-09-18  6:06 UTC (permalink / raw)
  To: linux-mips; +Cc: Ethan Nelson-Moore, Thomas Bogendoerfer

arch/mips/include/asm/cmp.h appears never to have been used by the
kernel. CMP support was removed in commit 7fb6f7b0af67 ("MIPS: Remove
deprecated CONFIG_MIPS_CMP"), but it was left behind. Remove it.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
---
 arch/mips/include/asm/cmp.h | 10 ----------
 1 file changed, 10 deletions(-)
 delete mode 100644 arch/mips/include/asm/cmp.h

diff --git a/arch/mips/include/asm/cmp.h b/arch/mips/include/asm/cmp.h
deleted file mode 100644
index 71e20e6cd38d..000000000000
--- a/arch/mips/include/asm/cmp.h
+++ /dev/null
@@ -1,10 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _ASM_CMP_H
-#define _ASM_CMP_H
-
-/*
- * Definitions for CMP multitasking on MIPS cores
- */
-struct task_struct;
-
-#endif /*  _ASM_CMP_H */
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MIPS: remove unused <asm/cmp.h> header
  2026-09-18  6:06 [PATCH] MIPS: remove unused <asm/cmp.h> header Ethan Nelson-Moore
@ 2026-09-26  9:40 ` Thomas Bogendoerfer
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2026-09-26  9:40 UTC (permalink / raw)
  To: Ethan Nelson-Moore; +Cc: linux-mips

On Thu, Sep 17, 2026 at 11:06:22PM -0700, Ethan Nelson-Moore wrote:
> arch/mips/include/asm/cmp.h appears never to have been used by the
> kernel. CMP support was removed in commit 7fb6f7b0af67 ("MIPS: Remove
> deprecated CONFIG_MIPS_CMP"), but it was left behind. Remove it.
> 
> Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
> ---
>  arch/mips/include/asm/cmp.h | 10 ----------
>  1 file changed, 10 deletions(-)
>  delete mode 100644 arch/mips/include/asm/cmp.h
> 
> diff --git a/arch/mips/include/asm/cmp.h b/arch/mips/include/asm/cmp.h
> deleted file mode 100644
> index 71e20e6cd38d..000000000000
> --- a/arch/mips/include/asm/cmp.h
> +++ /dev/null
> @@ -1,10 +0,0 @@
> -/* SPDX-License-Identifier: GPL-2.0 */
> -#ifndef _ASM_CMP_H
> -#define _ASM_CMP_H
> -
> -/*
> - * Definitions for CMP multitasking on MIPS cores
> - */
> -struct task_struct;
> -
> -#endif /*  _ASM_CMP_H */
> -- 
> 2.43.0

applied to mips-next

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-26 10:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-18  6:06 [PATCH] MIPS: remove unused <asm/cmp.h> header Ethan Nelson-Moore
2026-09-26  9:40 ` Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox