summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2018-01-14 20:15:38 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2018-01-14 20:15:38 +0000
commitf3e97c545604d3063f1830db7c8ed336abb55468 (patch)
treeccebf4bc57fb3eb27b7e9bc23b6bc25ed5c28214
parentcb31491a47fe2474ad83d907a8bf2942a58d4534 (diff)
Make cpu_ucode_debug non static so it can be changed from ddb.
OK patrick@
-rw-r--r--sys/arch/amd64/amd64/ucode.c4
1 files 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 <fritsch@genua.de>
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
@@ -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)