summaryrefslogtreecommitdiffstats
path: root/include/net/9p
diff options
context:
space:
mode:
authorEric Van Hensbergen2008-10-23 01:47:40 +0200
committerEric Van Hensbergen2008-10-23 01:47:40 +0200
commit0b15a3a5285bac2a2caa4ef970410674b6dd2de5 (patch)
tree219c22a3cc1ab961bff46308e64288ed63ff034d /include/net/9p
parentbinfmt_elf_fdpic: Update for cputime changes. (diff)
downloadkernel-qcow2-linux-0b15a3a5285bac2a2caa4ef970410674b6dd2de5.tar.gz
kernel-qcow2-linux-0b15a3a5285bac2a2caa4ef970410674b6dd2de5.tar.xz
kernel-qcow2-linux-0b15a3a5285bac2a2caa4ef970410674b6dd2de5.zip
9p: fix debug build error
Fixes build problem with 9p when building with debug disabled. Also contains some fixes for warnings which pop up when CONFIG_NET_9P_DEBUG is disabled. Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include/net/9p')
-rw-r--r--include/net/9p/9p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h
index d2c60c73619d..b77c1478c99f 100644
--- a/include/net/9p/9p.h
+++ b/include/net/9p/9p.h
@@ -56,9 +56,9 @@ enum p9_debug_flags {
P9_DEBUG_PKT = (1<<10),
};
+#ifdef CONFIG_NET_9P_DEBUG
extern unsigned int p9_debug_level;
-#ifdef CONFIG_NET_9P_DEBUG
#define P9_DPRINTK(level, format, arg...) \
do { \
if ((p9_debug_level & level) == level) {\