Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151450
b: refs/heads/master
c: 0c33cac
h: refs/heads/master
v: v3
  • Loading branch information
Pekka Enberg authored and Vegard Nossum committed Jun 15, 2009
1 parent 2abe333 commit b47ed2c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b53b76a6158cd831759d7b0b2585bf0b121cec2
refs/heads/master: 0c33cacd8672ef034ba414510f71ea2bd9370111
8 changes: 5 additions & 3 deletions trunk/arch/x86/mm/kmemcheck/kmemcheck.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,19 @@ int __init kmemcheck_init(void)
early_initcall(kmemcheck_init);

#ifdef CONFIG_KMEMCHECK_DISABLED_BY_DEFAULT
int kmemcheck_enabled = 0;
# define KMEMCHECK_ENABLED 0
#endif

#ifdef CONFIG_KMEMCHECK_ENABLED_BY_DEFAULT
int kmemcheck_enabled = 1;
# define KMEMCHECK_ENABLED 1
#endif

#ifdef CONFIG_KMEMCHECK_ONESHOT_BY_DEFAULT
int kmemcheck_enabled = 2;
# define KMEMCHECK_ENABLED 2
#endif

int kmemcheck_enabled = KMEMCHECK_ENABLED;

/*
* We need to parse the kmemcheck= option before any memory is allocated.
*/
Expand Down

0 comments on commit b47ed2c

Please sign in to comment.