From: Ralf Baechle <ralf@linux-mips.org>
To: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org, trivial@kernel.org
Subject: Re: [PATCH] MIPS: Remove CONFIG_ARCH_HAS_ILOG2_U{32,64}
Date: Wed, 12 Apr 2017 21:50:36 +0200 [thread overview]
Message-ID: <20170412195036.GA31446@linux-mips.org> (raw)
In-Reply-To: <20170330205200.25635-1-paul.burton@imgtec.com>
Thanks, applied.
Ralf
On Thu, Mar 30, 2017 at 01:51:59PM -0700, Paul Burton wrote:
> Date: Thu, 30 Mar 2017 13:51:59 -0700
> From: Paul Burton <paul.burton@imgtec.com>
> To: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
> CC: Paul Burton <paul.burton@imgtec.com>, trivial@kernel.org
> Subject: [PATCH] MIPS: Remove CONFIG_ARCH_HAS_ILOG2_U{32,64}
> Content-Type: text/plain
>
> We declare CONFIG_ARCH_HAS_ILOG2_U32 & CONFIG_ARCH_HAS_ILOG2_U64 in
> Kconfig, but they are always false since nothing ever selects them. The
> generic fls-based implementation is efficient for MIPS anyway. Remove
> the redundant Kconfig entries.
>
> Signed-off-by: Paul Burton <paul.burton@imgtec.com>
> Cc: Ralf Baechle <ralf@linux-mips.org>
> Cc: linux-mips@linux-mips.org
> Cc: trivial@kernel.org
>
> ---
>
> arch/mips/Kconfig | 8 --------
> 1 file changed, 8 deletions(-)
>
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index a008a9f03072..33bc84ffd6b2 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -1040,14 +1040,6 @@ config RWSEM_GENERIC_SPINLOCK
> config RWSEM_XCHGADD_ALGORITHM
> bool
>
> -config ARCH_HAS_ILOG2_U32
> - bool
> - default n
> -
> -config ARCH_HAS_ILOG2_U64
> - bool
> - default n
> -
> config GENERIC_HWEIGHT
> bool
> default y
> --
> 2.12.1
>
prev parent reply other threads:[~2017-04-12 19:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-30 20:51 [PATCH] MIPS: Remove CONFIG_ARCH_HAS_ILOG2_U{32,64} Paul Burton
2017-03-30 20:51 ` Paul Burton
2017-04-12 19:50 ` Ralf Baechle [this message]
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=20170412195036.GA31446@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-mips@linux-mips.org \
--cc=paul.burton@imgtec.com \
--cc=trivial@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.