X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdebugobjects.c;h=5d99be1fd988bbd3df0f73f07fbee5e079d4cb53;hb=6ac206c85233eb89533647f5fdc5ebe07320c5e5;hp=e3ab374e1334ab80fc172c3d256d2eb4fddd665e;hpb=cc513ac0f29473de365664c4fba9cf033c1f2324;p=linux-2.6-omap-h63xx.git diff --git a/lib/debugobjects.c b/lib/debugobjects.c index e3ab374e133..5d99be1fd98 100644 --- a/lib/debugobjects.c +++ b/lib/debugobjects.c @@ -45,7 +45,9 @@ static struct kmem_cache *obj_cache; static int debug_objects_maxchain __read_mostly; static int debug_objects_fixups __read_mostly; static int debug_objects_warnings __read_mostly; -static int debug_objects_enabled __read_mostly; +static int debug_objects_enabled __read_mostly + = CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT; + static struct debug_obj_descr *descr_test __read_mostly; static int __init enable_object_debug(char *str)