From 7384191a65b52a42d97c924eceb8c4eaa72f6d50 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Tue, 24 Nov 2009 15:19:43 +1100 Subject: [PATCH] --- yaml --- r: 169762 b: refs/heads/master c: ee3d250446f1c1be4eceab48f3a23794d9a6564c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/tools/perf/util/include/linux/bitops.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 5b0525f7a24e..72e643ca1357 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fa7c27ee9394fc0d52404b2a89882e95868a60b9 +refs/heads/master: ee3d250446f1c1be4eceab48f3a23794d9a6564c diff --git a/trunk/tools/perf/util/include/linux/bitops.h b/trunk/tools/perf/util/include/linux/bitops.h index ace57c36d1d0..8d63116e9435 100644 --- a/trunk/tools/perf/util/include/linux/bitops.h +++ b/trunk/tools/perf/util/include/linux/bitops.h @@ -7,6 +7,8 @@ #define CONFIG_GENERIC_FIND_FIRST_BIT #include "../../../../include/linux/bitops.h" +#undef __KERNEL__ + static inline void set_bit(int nr, unsigned long *addr) { addr[nr / BITS_PER_LONG] |= 1UL << (nr % BITS_PER_LONG);