diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-04-25 15:16:44 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-04-25 15:16:44 +0100 |
commit | 1af042271f9bf7601f7ecf4d328ccde3a44d2c72 (patch) | |
tree | 9c1dea25088aed63a29b2f759edfb6fbca2a186c /include/linux | |
parent | eae19a762de975e109394b1edcba6587323c7d1a (diff) | |
download | kernel_samsung_smdk4412-1af042271f9bf7601f7ecf4d328ccde3a44d2c72.zip kernel_samsung_smdk4412-1af042271f9bf7601f7ecf4d328ccde3a44d2c72.tar.gz kernel_samsung_smdk4412-1af042271f9bf7601f7ecf4d328ccde3a44d2c72.tar.bz2 |
Sanitise linux/sunrpc/debug.h for userspace consumption
Move some inclusion of private header files and the definition of
RPC_DEBUG inside the existing #ifdef __KERNEL__
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/sunrpc/debug.h | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/include/linux/sunrpc/debug.h b/include/linux/sunrpc/debug.h index 1a42d90..e0cae8d 100644 --- a/include/linux/sunrpc/debug.h +++ b/include/linux/sunrpc/debug.h @@ -9,19 +9,6 @@ #ifndef _LINUX_SUNRPC_DEBUG_H_ #define _LINUX_SUNRPC_DEBUG_H_ -#include <linux/config.h> - -#include <linux/timer.h> -#include <linux/workqueue.h> - -/* - * Enable RPC debugging/profiling. - */ -#ifdef CONFIG_SYSCTL -#define RPC_DEBUG -#endif -/* #define RPC_PROFILE */ - /* * RPC debug facilities */ @@ -40,6 +27,18 @@ #define RPCDBG_ALL 0x7fff #ifdef __KERNEL__ +#include <linux/config.h> + +#include <linux/timer.h> +#include <linux/workqueue.h> + +/* + * Enable RPC debugging/profiling. + */ +#ifdef CONFIG_SYSCTL +#define RPC_DEBUG +#endif +/* #define RPC_PROFILE */ /* * Debugging macros etc |