From: Thomas Gleixner <tglx@linutronix.de>
To: Adrian Bunk <bunk@kernel.org>
Cc: Roland McGrath <roland@redhat.com>,
mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] x86: make mxcsr_feature_mask static again
Date: Sun, 17 Feb 2008 14:55:26 +0100 (CET) [thread overview]
Message-ID: <alpine.LFD.1.00.0802171454560.7583@apollo.tec.linutronix.de> (raw)
In-Reply-To: <20080213212933.GE3383@cs181133002.pp.htv.fi>
On Wed, 13 Feb 2008, Adrian Bunk wrote:
> mxcsr_feature_mask needlessly became global.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Applied along with the other x86 ones.
Thanks,
tglx
> ---
>
> arch/x86/kernel/i387.c | 2 +-
> include/asm-x86/i387.h | 1 -
> 2 files changed, 1 insertion(+), 2 deletions(-)
>
> 76adc866d04ed20a5b2eb548920f93ad87268cbd
> diff --git a/arch/x86/kernel/i387.c b/arch/x86/kernel/i387.c
> index 26719bd..763dfc4 100644
> --- a/arch/x86/kernel/i387.c
> +++ b/arch/x86/kernel/i387.c
> @@ -39,7 +39,7 @@
> #define HAVE_HWFP 1
> #endif
>
> -unsigned int mxcsr_feature_mask __read_mostly = 0xffffffffu;
> +static unsigned int mxcsr_feature_mask __read_mostly = 0xffffffffu;
>
> void mxcsr_feature_mask_init(void)
> {
> diff --git a/include/asm-x86/i387.h b/include/asm-x86/i387.h
> index ba8105c..4c7706a 100644
> --- a/include/asm-x86/i387.h
> +++ b/include/asm-x86/i387.h
> @@ -19,7 +19,6 @@
> #include <asm/uaccess.h>
>
> extern void fpu_init(void);
> -extern unsigned int mxcsr_feature_mask;
> extern void mxcsr_feature_mask_init(void);
> extern void init_fpu(struct task_struct *child);
> extern asmlinkage void math_state_restore(void);
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
prev parent reply other threads:[~2008-02-17 13:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 21:29 Adrian Bunk
2008-02-13 21:38 ` Roland McGrath
2008-02-16 18:22 ` Thomas Gleixner
2008-02-17 13:55 ` Thomas Gleixner [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=alpine.LFD.1.00.0802171454560.7583@apollo.tec.linutronix.de \
--to=tglx@linutronix.de \
--cc=bunk@kernel.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=roland@redhat.com \
/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®