summaryrefslogtreecommitdiff
path: root/include/asm-um
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2008-04-23 07:53:19 -0400
committerMatthew Wilcox <willy@linux.intel.com>2008-05-31 13:15:44 -0400
commit069e88113c5cd04d2893d9d1134cd3eb46b40abb (patch)
treefc9526e6f0914bc182a87eeaa9c5ec281d104e8b /include/asm-um
parentaa30fc52823f3b253fab93586ae7012080cf269d (diff)
Warn if asm/semaphore.h included
In preparation for removing asm/semaphore.h, warn if it is used. Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Diffstat (limited to 'include/asm-um')
-rw-r--r--include/asm-um/semaphore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-um/semaphore.h b/include/asm-um/semaphore.h
index d9b2034ed1d2..4c7ea462435b 100644
--- a/include/asm-um/semaphore.h
+++ b/include/asm-um/semaphore.h
@@ -1 +1,2 @@
+#warning Use linux/semaphore.h, not asm/semaphore.h
#include <linux/semaphore.h>