[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHrUA374rf6rsq4xMLrxRrFsdZvfed3KCUHcYf+b=21LPYVkDQ@mail.gmail.com>
Date: Mon, 21 Nov 2011 10:54:00 -0600
From: Linas Vepstas <linasvepstas@...il.com>
To: Jesper Juhl <jj@...osbits.net>
Cc: linux-hexagon@...r.kernel.org, Richard Kuo <rkuo@...eaurora.org>,
Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Remove unneeded include of version.h from arch/hexagon/include/asm/spinlock_types.h
Acked-by: Linas Vepstas <linasvepstas@...il.com>
On 20 November 2011 14:59, Jesper Juhl <jj@...osbits.net> wrote:
> "make versioncheck" points out that arch/hexagon/include/asm/spinlock_types.h
> does not need to include version.h .
> A quick look at the file seems to confirm its findings, so here's a patch that
> removes the include.
>
> Signed-off-by: Jesper Juhl <jj@...osbits.net>
> ---
> arch/hexagon/include/asm/spinlock_types.h | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> Please note: I've not done any compile tests or other tests to confirm
> this patch since I have no way to build stuff for this
> architecture, so please review carefully before applying.
>
> diff --git a/arch/hexagon/include/asm/spinlock_types.h b/arch/hexagon/include/asm/spinlock_types.h
> index 5e937af..99b5a75 100644
> --- a/arch/hexagon/include/asm/spinlock_types.h
> +++ b/arch/hexagon/include/asm/spinlock_types.h
> @@ -21,8 +21,6 @@
> #ifndef _ASM_SPINLOCK_TYPES_H
> #define _ASM_SPINLOCK_TYPES_H
>
> -#include <linux/version.h>
> -
> #ifndef __LINUX_SPINLOCK_TYPES_H
> # error "please don't include this file directly"
> #endif
> --
> 1.7.7.3
>
>
> --
> Jesper Juhl <jj@...osbits.net> http://www.chaosbits.net/
> Don't top-post http://www.catb.org/jargon/html/T/top-post.html
> Plain text mails only, please.
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hexagon" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists