summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorArun Sharma <asharma@fb.com>2011-07-27 01:09:08 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-27 01:49:47 +0200
commitacac43e2fc4b14ecf1ff229eaa8d1e011d063749 (patch)
treea0fb12d4ef71a408755a383d8c597ada8a92cbf4 /include/asm-generic
parentatomic: cleanup asm-generic atomic*.h inclusion (diff)
downloadlinux-acac43e2fc4b14ecf1ff229eaa8d1e011d063749.tar.xz
linux-acac43e2fc4b14ecf1ff229eaa8d1e011d063749.zip
atomic: Update comments in atomic.h
This clarifies the differences between <linux/atomic.h> and <asm-generic/atomic.h> Signed-off-by: Arun Sharma <asharma@fb.com> Suggested-by: Mike Frysinger <vapier.adi@gmail.com> Cc: Eric Dumazet <eric.dumazet@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: David Miller <davem@davemloft.net> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/atomic.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-generic/atomic.h b/include/asm-generic/atomic.h
index a8fad943d37b..90e23ea90d0d 100644
--- a/include/asm-generic/atomic.h
+++ b/include/asm-generic/atomic.h
@@ -1,5 +1,7 @@
/*
- * Generic C implementation of atomic counter operations
+ * Generic C implementation of atomic counter operations. Usable on
+ * UP systems only. Do not include in machine independent code.
+ *
* Originally implemented for MN10300.
*
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.