aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/dma-buf.h2
-rw-r--r--include/linux/percpu_counter.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h
index bd2e52ccc4f2..3d754a394e92 100644
--- a/include/linux/dma-buf.h
+++ b/include/linux/dma-buf.h
@@ -53,7 +53,7 @@ struct dma_buf_attachment;
53 * @begin_cpu_access: [optional] called before cpu access to invalidate cpu 53 * @begin_cpu_access: [optional] called before cpu access to invalidate cpu
54 * caches and allocate backing storage (if not yet done) 54 * caches and allocate backing storage (if not yet done)
55 * respectively pin the objet into memory. 55 * respectively pin the objet into memory.
56 * @end_cpu_access: [optional] called after cpu access to flush cashes. 56 * @end_cpu_access: [optional] called after cpu access to flush caches.
57 * @kmap_atomic: maps a page from the buffer into kernel address 57 * @kmap_atomic: maps a page from the buffer into kernel address
58 * space, users may not block until the subsequent unmap call. 58 * space, users may not block until the subsequent unmap call.
59 * This callback must not sleep. 59 * This callback must not sleep.
diff --git a/include/linux/percpu_counter.h b/include/linux/percpu_counter.h
index b9df9ed1adc0..d5dd4657c8d6 100644
--- a/include/linux/percpu_counter.h
+++ b/include/linux/percpu_counter.h
@@ -83,7 +83,7 @@ static inline int percpu_counter_initialized(struct percpu_counter *fbc)
83 return (fbc->counters != NULL); 83 return (fbc->counters != NULL);
84} 84}
85 85
86#else 86#else /* !CONFIG_SMP */
87 87
88struct percpu_counter { 88struct percpu_counter {
89 s64 count; 89 s64 count;