Disable annoying xen cdrom dbg prints
This commit is contained in:
parent
ad08580970
commit
7111a4be3f
18
patches.fixes/xen-disable-cdrom-dbgprints.diff
Normal file
18
patches.fixes/xen-disable-cdrom-dbgprints.diff
Normal file
@ -0,0 +1,18 @@
|
||||
--- linux-2.6.38.3/drivers/xen/blkback/cdrom.c.orig 2011-07-24 18:44:14.795354823 +0200
|
||||
+++ linux-2.6.38.3/drivers/xen/blkback/cdrom.c 2011-07-24 18:45:46.278542130 +0200
|
||||
@@ -35,9 +35,15 @@
|
||||
#include "common.h"
|
||||
|
||||
#undef DPRINTK
|
||||
+
|
||||
+#undef DEBUG
|
||||
+#ifdef DEBUG
|
||||
#define DPRINTK(_f, _a...) \
|
||||
printk(KERN_DEBUG "(%s() file=%s, line=%d) " _f "\n", \
|
||||
__func__, __FILE__ , __LINE__ , ##_a )
|
||||
+#else
|
||||
+#define DPRINTK(_f, _a...)
|
||||
+#endif
|
||||
|
||||
|
||||
#define MEDIA_PRESENT "media-present"
|
@ -846,3 +846,4 @@
|
||||
patches.qubes/nuke_balloon_minimum_target.patch
|
||||
patches.fixes/xen-blkfront-connect-overflow.patch
|
||||
patches.fixes/xencons_close_deadlock.patch
|
||||
patches.fixes/xen-disable-cdrom-dbgprints.diff
|
||||
|
Loading…
Reference in New Issue
Block a user