projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4a874a
)
kmemcheck: remove useless check
author
Vegard Nossum
<vegard.nossum@gmail.com>
Mon, 22 Jun 2009 12:31:53 +0000
(14:31 +0200)
committer
Vegard Nossum
<vegard.nossum@gmail.com>
Wed, 1 Jul 2009 20:28:42 +0000
(22:28 +0200)
This check is a left-over from ancient times. We now have the equivalent
check much earlier in both the page fault handler and the debug trap
handler (the calls to kmemcheck_active()).
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
arch/x86/mm/kmemcheck/kmemcheck.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/kmemcheck/kmemcheck.c
b/arch/x86/mm/kmemcheck/kmemcheck.c
index
2c55ed0
..
5b99004
100644
(file)
--- a/
arch/x86/mm/kmemcheck/kmemcheck.c
+++ b/
arch/x86/mm/kmemcheck/kmemcheck.c
@@
-225,9
+225,6
@@
void kmemcheck_hide(struct pt_regs *regs)
BUG_ON(!irqs_disabled());
- if (data->balance == 0)
- return;
-
if (unlikely(data->balance != 1)) {
kmemcheck_show_all();
kmemcheck_error_save_bug(regs);