From: Borislav Petkov <bp@alien8.de>
To: Juergen Gross <jgross@suse.com>
Cc: linux-kernel@vger.kernel.org, x86@kernel.org, hpa@zytor.com,
tglx@linutronix.de, mingo@redhat.com
Subject: Re: [PATCH] x86: remove unused function cpu_has_ht_siblings()
Date: Tue, 17 Nov 2015 16:58:58 +0100 [thread overview]
Message-ID: <20151117155858.GA9374@pd.tnic> (raw)
In-Reply-To: <1447761943-770-1-git-send-email-jgross@suse.com>
On Tue, Nov 17, 2015 at 01:05:43PM +0100, Juergen Gross wrote:
> It is used nowhere.
>
> Signed-off-by: Juergen Gross <jgross@suse.com>
> ---
> arch/x86/include/asm/smp.h | 9 ---------
> 1 file changed, 9 deletions(-)
>
> diff --git a/arch/x86/include/asm/smp.h b/arch/x86/include/asm/smp.h
> index 222a6a3..a438c55 100644
> --- a/arch/x86/include/asm/smp.h
> +++ b/arch/x86/include/asm/smp.h
> @@ -21,15 +21,6 @@
> extern int smp_num_siblings;
> extern unsigned int num_processors;
>
> -static inline bool cpu_has_ht_siblings(void)
> -{
> - bool has_siblings = false;
> -#ifdef CONFIG_SMP
> - has_siblings = cpu_has_ht && smp_num_siblings > 1;
> -#endif
> - return has_siblings;
> -}
> -
> DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map);
> DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map);
> /* cpus sharing the last level cache: */
> --
Applied, thanks.
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
next prev parent reply other threads:[~2015-11-17 15:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-17 12:05 Juergen Gross
2015-11-17 15:58 ` Borislav Petkov [this message]
2015-11-19 10:06 ` [tip:x86/cleanups] x86: Remove " tip-bot for Juergen Gross
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=20151117155858.GA9374@pd.tnic \
--to=bp@alien8.de \
--cc=hpa@zytor.com \
--cc=jgross@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®