From df1627a04834eccd6c3776b7ddbb43427b1573b7 Mon Sep 17 00:00:00 2001 From: bluhm Date: Sun, 14 Jan 2018 20:15:37 +0000 Subject: [PATCH] Make cpu_ucode_debug non static so it can be changed from ddb. OK patrick@ --- sys/arch/amd64/amd64/ucode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/amd64/amd64/ucode.c b/sys/arch/amd64/amd64/ucode.c index c0e1c6b6fa7..ceec53dafea 100644 --- a/sys/arch/amd64/amd64/ucode.c +++ b/sys/arch/amd64/amd64/ucode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ucode.c,v 1.2 2018/01/12 10:33:07 patrick Exp $ */ +/* $OpenBSD: ucode.c,v 1.3 2018/01/14 20:15:37 bluhm Exp $ */ /* * Copyright (c) 2018 Stefan Fritsch * Copyright (c) 2018 Patrick Wildt @@ -28,7 +28,7 @@ #ifdef UCODE_DEBUG #define DPRINTF(x) do { if (cpu_ucode_debug > 0) printf x; } while (0) #define DPRINTFN(n, x) do { if (cpu_ucode_debug >= (n)) printf x; } while (0) -static int cpu_ucode_debug = 1; +int cpu_ucode_debug = 1; #else #define DPRINTF(x) do { ; } while (0) #define DPRINTFN(n, x) do { ; } while (0) -- 2.20.1