diff options
Diffstat (limited to 'include/linux/sunrpc/debug.h')
| -rw-r--r-- | include/linux/sunrpc/debug.h | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/include/linux/sunrpc/debug.h b/include/linux/sunrpc/debug.h index 1a42d902bc11..e4729aa67654 100644 --- a/include/linux/sunrpc/debug.h +++ b/include/linux/sunrpc/debug.h | |||
| @@ -9,19 +9,6 @@ | |||
| 9 | #ifndef _LINUX_SUNRPC_DEBUG_H_ | 9 | #ifndef _LINUX_SUNRPC_DEBUG_H_ |
| 10 | #define _LINUX_SUNRPC_DEBUG_H_ | 10 | #define _LINUX_SUNRPC_DEBUG_H_ |
| 11 | 11 | ||
| 12 | #include <linux/config.h> | ||
| 13 | |||
| 14 | #include <linux/timer.h> | ||
| 15 | #include <linux/workqueue.h> | ||
| 16 | |||
| 17 | /* | ||
| 18 | * Enable RPC debugging/profiling. | ||
| 19 | */ | ||
| 20 | #ifdef CONFIG_SYSCTL | ||
| 21 | #define RPC_DEBUG | ||
| 22 | #endif | ||
| 23 | /* #define RPC_PROFILE */ | ||
| 24 | |||
| 25 | /* | 12 | /* |
| 26 | * RPC debug facilities | 13 | * RPC debug facilities |
| 27 | */ | 14 | */ |
| @@ -41,6 +28,17 @@ | |||
| 41 | 28 | ||
| 42 | #ifdef __KERNEL__ | 29 | #ifdef __KERNEL__ |
| 43 | 30 | ||
| 31 | #include <linux/timer.h> | ||
| 32 | #include <linux/workqueue.h> | ||
| 33 | |||
| 34 | /* | ||
| 35 | * Enable RPC debugging/profiling. | ||
| 36 | */ | ||
| 37 | #ifdef CONFIG_SYSCTL | ||
| 38 | #define RPC_DEBUG | ||
| 39 | #endif | ||
| 40 | /* #define RPC_PROFILE */ | ||
| 41 | |||
| 44 | /* | 42 | /* |
| 45 | * Debugging macros etc | 43 | * Debugging macros etc |
| 46 | */ | 44 | */ |
