X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=lib%2Fdebugobjects.c;h=5d99be1fd988bbd3df0f73f07fbee5e079d4cb53;hb=71038f527f3665f562cf9afe083df729958a099b;hp=e3ab374e1334ab80fc172c3d256d2eb4fddd665e;hpb=f68ec0c24755e5cdb779be6240925f2175311d84;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)