summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/common.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-01 09:51:29 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-01 09:51:29 +0100
commitebbbf3c8df3ab52219c2b21e0d37e02acea2510d (patch)
tree7f1fa62f6d9de23db96021995d1498ea07e24ea6 /arch/x86/kernel/cpu/common.c
parent46c7ff71b4b4638b172c9747c4e556bd8f98bad2 (diff)
parent097aa9a71fd56cdc62c11bdf45a84f07acaa3604 (diff)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r--arch/x86/kernel/cpu/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index c39c5c37f4e82..bab44900b937c 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -2220,7 +2220,7 @@ EXPORT_PER_CPU_SYMBOL(__stack_chk_guard);
static void initialize_debug_regs(void)
{
/* Control register first -- to make sure everything is disabled. */
- set_debugreg(0, 7);
+ set_debugreg(DR7_FIXED_1, 7);
set_debugreg(DR6_RESERVED, 6);
/* dr5 and dr4 don't exist */
set_debugreg(0, 3);