[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LFD.1.00.0802171454560.7583@apollo.tec.linutronix.de>
Date: Sun, 17 Feb 2008 14:55:26 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Adrian Bunk <bunk@...nel.org>
cc: Roland McGrath <roland@...hat.com>, mingo@...hat.com,
hpa@...or.com, linux-kernel@...r.kernel.org
Subject: Re: [2.6 patch] x86: make mxcsr_feature_mask static again
On Wed, 13 Feb 2008, Adrian Bunk wrote:
> mxcsr_feature_mask needlessly became global.
>
> Signed-off-by: Adrian Bunk <bunk@...nel.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@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
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