[PATCH] mtrr: fix PGE mask

2007-05-18 Thread Brian Gerst
cr4 is a 32-bit register, so casting the mask to an unsigned char is wrong, as it clears more than the PGE bit. Signed-off-by: Brian Gerst <[EMAIL PROTECTED]> --- arch/i386/kernel/cpu/mtrr/cyrix.c |2 +- arch/i386/kernel/cpu/mtrr/state.c |2 +- 2 files changed, 2 insertions(+), 2

[PATCH] mtrr: fix PGE mask

2007-05-18 Thread Brian Gerst
cr4 is a 32-bit register, so casting the mask to an unsigned char is wrong, as it clears more than the PGE bit. Signed-off-by: Brian Gerst [EMAIL PROTECTED] --- arch/i386/kernel/cpu/mtrr/cyrix.c |2 +- arch/i386/kernel/cpu/mtrr/state.c |2 +- 2 files changed, 2 insertions(+), 2