|
@@ -55,7 +55,15 @@ static int __init enable_object_debug(char *str)
|
|
debug_objects_enabled = 1;
|
|
debug_objects_enabled = 1;
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+static int __init disable_object_debug(char *str)
|
|
|
|
+{
|
|
|
|
+ debug_objects_enabled = 0;
|
|
|
|
+ return 0;
|
|
|
|
+}
|
|
|
|
+
|
|
early_param("debug_objects", enable_object_debug);
|
|
early_param("debug_objects", enable_object_debug);
|
|
|
|
+early_param("no_debug_objects", disable_object_debug);
|
|
|
|
|
|
static const char *obj_states[ODEBUG_STATE_MAX] = {
|
|
static const char *obj_states[ODEBUG_STATE_MAX] = {
|
|
[ODEBUG_STATE_NONE] = "none",
|
|
[ODEBUG_STATE_NONE] = "none",
|