summaryrefslogtreecommitdiff
path: root/include/linux/percpu_counter.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-04-29 17:33:47 -0700
committerChristoph Hellwig <hch@lst.de>2003-04-29 17:33:47 -0700
commitefa428ef2cafff1c31730f04147244d1e2def76f (patch)
treef2848d35a704100dd154f1d2b995e9dac1aa316d /include/linux/percpu_counter.h
parent2bfd7eda72df4267b6086c8a06d5c20fdb892458 (diff)
[PATCH] percpu counters cause UML compilation errors in with SMP
The percpu counters break UML SMP compilation (in current 2.5.58 bk snapshot) (first NR_CPUS undeclared in header, then dereference of incomplete structure in .c file)
Diffstat (limited to 'include/linux/percpu_counter.h')
-rw-r--r--include/linux/percpu_counter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/percpu_counter.h b/include/linux/percpu_counter.h
index 69d0a66b662e..53c52176c391 100644
--- a/include/linux/percpu_counter.h
+++ b/include/linux/percpu_counter.h
@@ -7,7 +7,7 @@
#include <linux/config.h>
#include <linux/spinlock.h>
#include <linux/smp.h>
-#include <linux/preempt.h>
+#include <linux/threads.h>
#ifdef CONFIG_SMP