lkml.org 
[lkml]   [2004]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.040 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site