Messages in this thread | | | Date | Tue, 24 Aug 2004 12:22:45 +0100 | From | Dave Jones <> | Subject | Re: Fix MTRR strings definition. |
| |
On Tue, Aug 24, 2004 at 01:17:35PM +0200, Andi Kleen wrote:
> > The extern definitions no longer exist. > Your patch was:
Oops. I missed the x86-64 one as I thought you killed that when you killed the i386 one.
Dave
> --- latest-FC2/include/asm-x86_64/mtrr.h~ 2004-08-24 00:20:17.377436336 +0100 > +++ latest-FC2/include/asm-x86_64/mtrr.h 2004-08-24 00:21:04.137327752 +0100 > @@ -69,6 +69,19 @@ > #define MTRR_TYPE_WRBACK 6 > #define MTRR_NUM_TYPES 7 > > +#ifdef MTRR_NEED_STRINGS > +static char *mtrr_strings[MTRR_NUM_TYPES] = > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > +{ > + "uncachable", /* 0 */ > + "write-combining", /* 1 */ > + "?", /* 2 */ > + "?", /* 3 */ > + "write-through", /* 4 */ > + "write-protect", /* 5 */ > + "write-back", /* 6 */ > +}; > +#endif > + > #ifdef __KERNEL__ > > extern char *mtrr_strings[MTRR_NUM_TYPES]; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > -Andi ---end quoted text--- - 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/
| |