Change VM_BUG_ON's to be WARN_ONs instead.
This commit is contained in:
parent
618d6ec8fe
commit
b37f31d7f9
@ -651,6 +651,8 @@ Patch09: linux-2.6-upstream-reverts.patch
|
|||||||
|
|
||||||
Patch100: taint-vbox.patch
|
Patch100: taint-vbox.patch
|
||||||
|
|
||||||
|
Patch110: vmbugon-warnon.patch
|
||||||
|
|
||||||
Patch390: linux-2.6-defaults-acpi-video.patch
|
Patch390: linux-2.6-defaults-acpi-video.patch
|
||||||
Patch391: linux-2.6-acpi-video-dos.patch
|
Patch391: linux-2.6-acpi-video-dos.patch
|
||||||
Patch394: linux-2.6-acpi-debug-infinite-loop.patch
|
Patch394: linux-2.6-acpi-debug-infinite-loop.patch
|
||||||
@ -1293,6 +1295,8 @@ ApplyOptionalPatch linux-2.6-upstream-reverts.patch -R
|
|||||||
|
|
||||||
ApplyPatch taint-vbox.patch
|
ApplyPatch taint-vbox.patch
|
||||||
|
|
||||||
|
ApplyPatch vmbugon-warnon.patch
|
||||||
|
|
||||||
# Architecture patches
|
# Architecture patches
|
||||||
# x86(-64)
|
# x86(-64)
|
||||||
|
|
||||||
@ -2284,6 +2288,9 @@ fi
|
|||||||
# ||----w |
|
# ||----w |
|
||||||
# || ||
|
# || ||
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 31 2012 Dave Jones <davej@redhat.com>
|
||||||
|
- Change VM_BUG_ON's to be WARN_ONs instead.
|
||||||
|
|
||||||
* Tue Jul 31 2012 Josh Boyer <jwboyer@redhat.com>
|
* Tue Jul 31 2012 Josh Boyer <jwboyer@redhat.com>
|
||||||
- Move modules needed by Shorewall back to main kernel package (rhbz 844436)
|
- Move modules needed by Shorewall back to main kernel package (rhbz 844436)
|
||||||
|
|
||||||
|
20
vmbugon-warnon.patch
Normal file
20
vmbugon-warnon.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
diff --git a/include/linux/mmdebug.h b/include/linux/mmdebug.h
|
||||||
|
index 580bd58..3d908e9 100644
|
||||||
|
--- a/include/linux/mmdebug.h
|
||||||
|
+++ b/include/linux/mmdebug.h
|
||||||
|
@@ -2,13 +2,13 @@
|
||||||
|
#define LINUX_MM_DEBUG_H 1
|
||||||
|
|
||||||
|
#ifdef CONFIG_DEBUG_VM
|
||||||
|
-#define VM_BUG_ON(cond) BUG_ON(cond)
|
||||||
|
+#define VM_BUG_ON(cond) WARN_ON(cond)
|
||||||
|
#else
|
||||||
|
#define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_DEBUG_VIRTUAL
|
||||||
|
-#define VIRTUAL_BUG_ON(cond) BUG_ON(cond)
|
||||||
|
+#define VIRTUAL_BUG_ON(cond) WARN_ON(cond)
|
||||||
|
#else
|
||||||
|
#define VIRTUAL_BUG_ON(cond) do { } while (0)
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user