lkml.org 
[lkml]   [2007]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 10/10] Use standard CR8 flags, and fix TPR definition
Rusty Russell wrote:
> Intel manual (and KVM definition) say it's TPR is 4 bits wide. Also fix
> CR8_RESEVED_BITS typo.
>
> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
> diff -r 6ef0b4c0d6f7 include/asm-i386/processor-flags.h
> --- a/include/asm-i386/processor-flags.h Tue Jul 17 18:07:48 2007 +1000
> +++ b/include/asm-i386/processor-flags.h Tue Jul 17 18:12:54 2007 +1000
> @@ -63,7 +63,7 @@
> /*
> * x86-64 Task Priority Register, CR8
> */
> -#define X86_CR8_TPR 0x00000007 /* task priority register */
> +#define X86_CR8_TPR 0x0000000F /* task priority register */
>
> /*
> * AMD and Transmeta use MSRs for configuration; see <asm/msr-index.h>
>
>
>


X86_CR8_TPR is not used in the kernel. But is this meant to be a mask,
or something else?

--
error compiling committee.c: too many arguments to function

-
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: 2007-07-17 15:47    [W:0.056 / U:4.260 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site