diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2013-02-20 13:16:49 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-03-01 15:17:20 +1100 |
commit | 5dbf150915d18d30287db551c3ca3f44623d963e (patch) | |
tree | 5f6e7f7cc3b53a79658ca34b1f2e8e7a6e0be1be | |
parent | 58aa7767d2b4f4e947a0fe12a11824d9d806659f (diff) |
generic-dynamic-per-cpu-refcounting-fix
lib/percpu-refcount.c: In function 'percpu_ref_init':
lib/percpu-refcount.c:22: error: 'jiffies' undeclared (first use in this function)
lib/percpu-refcount.c:22: error: (Each undeclared identifier is reported only once
lib/percpu-refcount.c:22: error: for each function it appears in.)
lib/percpu-refcount.c: In function 'percpu_ref_alloc':
lib/percpu-refcount.c:36: error: 'jiffies' undeclared (first use in this function)
lib/percpu-refcount.c:41: error: 'HZ' undeclared (first use in this function)
Cc: Kent Overstreet <koverstreet@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | lib/percpu-refcount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/percpu-refcount.c b/lib/percpu-refcount.c index 522b2df4a78a..e2d8d1250c74 100644 --- a/lib/percpu-refcount.c +++ b/lib/percpu-refcount.c @@ -1,6 +1,7 @@ #define pr_fmt(fmt) "%s: " fmt "\n", __func__ #include <linux/kernel.h> +#include <linux/jiffies.h> #include <linux/percpu-refcount.h> #include <linux/rcupdate.h> |