Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev fix compression shift
details: https://anonhg.NetBSD.org/src/rev/7b1687bb62ba
branches: trunk
changeset: 336658:7b1687bb62ba
user: christos <christos%NetBSD.org@localhost>
date: Mon Mar 09 00:40:35 2015 +0000
description:
fix compression shift
diffstat:
sys/dev/lockstat.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0194942fe32f -r 7b1687bb62ba sys/dev/lockstat.h
--- a/sys/dev/lockstat.h Sun Mar 08 23:56:59 2015 +0000
+++ b/sys/dev/lockstat.h Mon Mar 09 00:40:35 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lockstat.h,v 1.11 2015/03/08 22:45:16 christos Exp $ */
+/* $NetBSD: lockstat.h,v 1.12 2015/03/09 00:40:35 christos Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -198,7 +198,7 @@
#ifdef KDTRACE_HOOKS
#define LS_COMPRESS(f) \
- ((((f) & 3) | (((f) & 7) >> 6)) & (LS_NPROBES - 1))
+ ((((f) & 0x3) | (((f) & 0x700) >> 6)) & (LS_NPROBES - 1))
#define LS_NPROBES 0x20 /* 5 bits */
extern uint32_t lockstat_probemap[];
Home |
Main Index |
Thread Index |
Old Index