From: Robert P. J. Day Date: Wed, 30 Jul 2008 19:48:53 +0000 (-0700) Subject: XTENSA: warn about including directly. X-Git-Tag: v2.6.28-rc1~50^2~5 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=14ac12de07112e727c161644798415368dc4b343;p=~shefty%2Frdma-dev.git XTENSA: warn about including directly. For consistency with other architectures, warn about including directly. Signed-off-by: Robert P. J. Day Signed-off-by: Andrew Morton Signed-off-by: Chris Zankel --- diff --git a/include/asm-xtensa/rwsem.h b/include/asm-xtensa/rwsem.h index 0aad3a58755..e39edf5c86f 100644 --- a/include/asm-xtensa/rwsem.h +++ b/include/asm-xtensa/rwsem.h @@ -13,6 +13,10 @@ #ifndef _XTENSA_RWSEM_H #define _XTENSA_RWSEM_H +#ifndef _LINUX_RWSEM_H +#error "Please don't include directly, use instead." +#endif + #include #include #include