diff options
Diffstat (limited to 'include/linux/compat.h')
| -rw-r--r-- | include/linux/compat.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h index 39c693f7a..593b07f4b 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h @@ -48,5 +48,8 @@  #define BUG_ON(condition) do { if (condition) BUG(); } while(0)  #endif /* BUG */ +#define WARN_ON(x) if (x) {printf("WARNING in %s line %d\n" \ +				  , __FILE__, __LINE__); } +  #define PAGE_SIZE	4096  #endif  |