2009-09-22 13:29:27

by Jaswinder Singh Rajput

[permalink] [raw]
Subject: [PATCH] MIPS: includecheck fix: smp.c


fix the following 'make includecheck' warning:

arch/mips/kernel/smp.c: linux/smp.h is included more than once.

Signed-off-by: Jaswinder Singh Rajput <[email protected]>
---
arch/mips/kernel/smp.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c
index 64668a9..119a95e 100644
--- a/arch/mips/kernel/smp.c
+++ b/arch/mips/kernel/smp.c
@@ -32,7 +32,6 @@
#include <linux/cpumask.h>
#include <linux/cpu.h>
#include <linux/err.h>
-#include <linux/smp.h>

#include <asm/atomic.h>
#include <asm/cpu.h>
--
1.6.0.6


2009-09-23 09:15:47

by Ralf Baechle

[permalink] [raw]
Subject: Re: [PATCH] MIPS: includecheck fix: smp.c

On Tue, Sep 22, 2009 at 06:59:27PM +0530, Jaswinder Singh Rajput wrote:

> fix the following 'make includecheck' warning:
>
> arch/mips/kernel/smp.c: linux/smp.h is included more than once.
>
> Signed-off-by: Jaswinder Singh Rajput <[email protected]>

I've already merged a patch which didn't yet make it to kernel.org for this
issue a few days ago.

Thanks anyway!

Ralf