From: Richard Kuo <rkuo@codeaurora.org>
To: Paul Bolle <pebolle@tiscali.nl>
Cc: Michal Marek <mmarek@suse.cz>,
linux-kbuild@vger.kernel.org, David Howells <dhowells@redhat.com>,
linux-hexagon@vger.kernel.org, Jonas Bonn <jonas@southpole.se>,
linux@lists.openrisc.net, Chris Zankel <chris@zankel.net>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] Remove useless wrappers of asm-generic/cpumask.h
Date: Thu, 21 Jun 2012 14:46:11 -0500 [thread overview]
Message-ID: <20120621194610.GA19619@codeaurora.org> (raw)
In-Reply-To: <1340306406.1773.59.camel@x61.thuisdomein>
On Thu, Jun 21, 2012 at 09:20:06PM +0200, Paul Bolle wrote:
> frv and xtensa both have a header (in their include/asm directories)
> that are thin wrappers around asm-generic/cpumask.h. These wrappers are
> useless, since that header doesn't exist. They are also unused (all
> files including asm/cpumask.h are x86 specific).
>
> hexagon and openrisc generate similar headers at build time (using a
> generic-y entry in include/asm/Kbuild). These generated headers are
> useless and unused too.
>
> Remove these headers and generic-y entries.
>
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
> arch/frv/include/asm/cpumask.h | 6 ------
> arch/hexagon/include/asm/Kbuild | 1 -
> arch/openrisc/include/asm/Kbuild | 1 -
> arch/xtensa/include/asm/cpumask.h | 16 ----------------
> 4 files changed, 0 insertions(+), 24 deletions(-)
> delete mode 100644 arch/frv/include/asm/cpumask.h
> delete mode 100644 arch/xtensa/include/asm/cpumask.h
>
> diff --git a/arch/frv/include/asm/cpumask.h b/arch/frv/include/asm/cpumask.h
> deleted file mode 100644
> index d999c20..0000000
> --- a/arch/frv/include/asm/cpumask.h
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -#ifndef _ASM_CPUMASK_H
> -#define _ASM_CPUMASK_H
> -
> -#include <asm-generic/cpumask.h>
> -
> -#endif /* _ASM_CPUMASK_H */
> diff --git a/arch/hexagon/include/asm/Kbuild b/arch/hexagon/include/asm/Kbuild
> index 9aa17f1..8ecd202 100644
> --- a/arch/hexagon/include/asm/Kbuild
> +++ b/arch/hexagon/include/asm/Kbuild
> @@ -7,7 +7,6 @@ header-y += user.h
> generic-y += auxvec.h
> generic-y += bug.h
> generic-y += bugs.h
> -generic-y += cpumask.h
> generic-y += cputime.h
> generic-y += current.h
> generic-y += device.h
> diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild
> index 3f35c38..08484f7 100644
> --- a/arch/openrisc/include/asm/Kbuild
> +++ b/arch/openrisc/include/asm/Kbuild
> @@ -13,7 +13,6 @@ generic-y += cacheflush.h
> generic-y += checksum.h
> generic-y += cmpxchg.h
> generic-y += cmpxchg-local.h
> -generic-y += cpumask.h
> generic-y += cputime.h
> generic-y += current.h
> generic-y += device.h
> diff --git a/arch/xtensa/include/asm/cpumask.h b/arch/xtensa/include/asm/cpumask.h
> deleted file mode 100644
> index ebeede3..0000000
> --- a/arch/xtensa/include/asm/cpumask.h
> +++ /dev/null
> @@ -1,16 +0,0 @@
> -/*
> - * include/asm-xtensa/cpumask.h
> - *
> - * This file is subject to the terms and conditions of the GNU General Public
> - * License. See the file "COPYING" in the main directory of this archive
> - * for more details.
> - *
> - * Copyright (C) 2001 - 2005 Tensilica Inc.
> - */
> -
> -#ifndef _XTENSA_CPUMASK_H
> -#define _XTENSA_CPUMASK_H
> -
> -#include <asm-generic/cpumask.h>
> -
> -#endif /* _XTENSA_CPUMASK_H */
> --
> 1.7.7.6
>
Acked-by: Richard Kuo <rkuo@codeaurora.org>
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
next prev parent reply other threads:[~2012-06-21 19:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-21 19:20 [PATCH 1/3] Remove useless wrappers of asm-generic/cpumask.h Paul Bolle
2012-06-21 19:46 ` Richard Kuo [this message]
2012-06-21 23:06 ` David Howells
2012-06-28 9:30 ` Michal Marek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120621194610.GA19619@codeaurora.org \
--to=rkuo@codeaurora.org \
--cc=chris@zankel.net \
--cc=dhowells@redhat.com \
--cc=jonas@southpole.se \
--cc=linux-hexagon@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@lists.openrisc.net \
--cc=mmarek@suse.cz \
--cc=pebolle@tiscali.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).