Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235847
b: refs/heads/master
c: b1f5b81
h: refs/heads/master
i:
  235845: 1f5fc46
  235843: b7901b2
  235839: 8f774e5
v: v3
  • Loading branch information
Robert Jennings authored and Greg Kroah-Hartman committed Feb 4, 2011
1 parent 445e77f commit 55eeb3f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e3f201b541ff6748db77b857d2ae69fc9dbbee11
refs/heads/master: b1f5b81ebeee3974a8c793cafacace991d9a864d
8 changes: 8 additions & 0 deletions trunk/drivers/staging/zram/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@ config ZRAM

See zram.txt for more information.
Project home: http://compcache.googlecode.com/

config ZRAM_DEBUG
bool "Compressed RAM block device debug support"
depends on ZRAM
default n
help
This option adds additional debugging code to the compressed
RAM block device driver.
4 changes: 4 additions & 0 deletions trunk/drivers/staging/zram/xvmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
* Released under the terms of GNU General Public License Version 2.0
*/

#ifdef CONFIG_ZRAM_DEBUG
#define DEBUG
#endif

#include <linux/bitops.h>
#include <linux/errno.h>
#include <linux/highmem.h>
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/staging/zram/zram_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
#define KMSG_COMPONENT "zram"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt

#ifdef CONFIG_ZRAM_DEBUG
#define DEBUG
#endif

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/bio.h>
Expand Down

0 comments on commit 55eeb3f

Please sign in to comment.