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
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
2 matches
Mail list logo