summaryrefslogtreecommitdiff
path: root/mdb/debian/patches/mdb-kmdb-kvm_cpu_p4.c-pointers.patch
blob: 35d46440ad412a061ca1108406934fd7e08d2fdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: b/usr/src/cmd/mdb/intel/kmdb/kvm_cpu_p4.c
===================================================================
--- a/usr/src/cmd/mdb/intel/kmdb/kvm_cpu_p4.c	2013-04-25 20:12:42.242083645 +0400
+++ b/usr/src/cmd/mdb/intel/kmdb/kvm_cpu_p4.c	2013-04-25 20:12:55.408407606 +0400
@@ -237,7 +237,7 @@
 	{ MSR_PRP4_LBSTK_TO_13,	KDI_MSR_READ },
 	{ MSR_PRP4_LBSTK_TO_14,	KDI_MSR_READ },
 	{ MSR_PRP4_LBSTK_TO_15,	KDI_MSR_READ },
-	{ NULL }
+	{ 0 }
 };
 
 static const kmt_p4_flavor_t kmt_p4_prescott = {
@@ -249,7 +249,7 @@
 static const kdi_msr_t kmt_p4unk_msrs[] = {
 	{ MSR_DEBUGCTL,		KDI_MSR_CLEARENTRY },
 	{ MSR_DEBUGCTL,		KDI_MSR_WRITEDELAY, &kmt_cpu_p4.p4_debugctl },
-	{ NULL }
+	{ 0 }
 };
 
 static const kmt_p4_flavor_t kmt_p4_unknown = {