From: Jim Cromie Date: Mon, 19 Dec 2011 22:12:59 +0000 (-0500) Subject: dynamic_debug: reduce lineno field to a saner 18 bits X-Git-Tag: MMI-PSA29.97-13-9~17269^2~65 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e703ddae383abb24b1c7f363cb0df7e78a44ea45;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git dynamic_debug: reduce lineno field to a saner 18 bits lineno:24 allows files with 4 million lines, an insane file-size, even for never-to-get-in-tree machine generated code. Reduce this to 18 bits, which still allows 256k lines. This is still insanely big, but its not raving mad. Signed-off-by: Jim Cromie Signed-off-by: Jason Baron Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/dynamic_debug.h b/include/linux/dynamic_debug.h index fc39640f2dea..7e3c53a900d8 100644 --- a/include/linux/dynamic_debug.h +++ b/include/linux/dynamic_debug.h @@ -15,7 +15,7 @@ struct _ddebug { const char *function; const char *filename; const char *format; - unsigned int lineno:24; + unsigned int lineno:18; /* * The flags field controls the behaviour at the callsite. * The bits here are changed dynamically when the user