Re: [2.6 patch] x86_64: kill stale mtrr_centaur_report_mcr

Andi Kleen
2005-01-17T05:50:57Z

On Sun, Jan 16, 2005 at 08:48:17AM +0100, Adrian Bunk wrote:
> I didn't know the x86_64 port supports the Centaur CPU. ;-)

Have you actually compiled this? Most of the gunk in asm-x86_64/mtrr.h
is because we share the MTRR driver with i386, and there is no good
way to disable specific CPUs in there.

-Andi

>
>
> diffstat output:
> include/asm-x86_64/mtrr.h | 3 ---
> 1 files changed, 3 deletions(-)
>
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
> --- linux-2.6.11-rc1-mm1-full/include/asm-x86_64/mtrr.h.old 2005-01-16 04:27:41.000000000 +0100
> +++ linux-2.6.11-rc1-mm1-full/include/asm-x86_64/mtrr.h 2005-01-16 04:27:54.000000000 +0100
> @@ -79,7 +79,6 @@
> unsigned int type, char increment);
> extern int mtrr_del (int reg, unsigned long base, unsigned long size);
> extern int mtrr_del_page (int reg, unsigned long base, unsigned long size);
> -extern void mtrr_centaur_report_mcr(int mcr, u32 lo, u32 hi);
> # else
> static __inline__ int mtrr_add (unsigned long base, unsigned long size,
> unsigned int type, char increment)
> @@ -102,8 +101,6 @@
> return -ENODEV;
> }
>
> -static __inline__ void mtrr_centaur_report_mcr(int mcr, u32 lo, u32 hi) {}
> -
> # endif
>
> #endif
>