X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=lib%2Fdynamic_debug.c;h=cb5abb42c16a269caddbbdc73d7ce6ce842440e5;hb=6701e7e7d8ee4f80d0c450aeab101e4a2a2678fa;hp=641767b0dce29be6d333b08b14031878e71436a7;hpb=320424c7d44f54c18df9812fd7c45f6963524002;p=linux-2.6-microblaze.git diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 641767b0dce2..cb5abb42c16a 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -991,7 +991,7 @@ static int ddebug_dyndbg_param_cb(char *param, char *val, ddebug_exec_queries((val ? val : "+p"), modname); - return 0; /* query failure shouldnt stop module load */ + return 0; /* query failure shouldn't stop module load */ } /* handle both dyndbg and $module.dyndbg params at boot */ @@ -1117,9 +1117,9 @@ static int __init dynamic_debug_init(void) goto out_err; ddebug_init_success = 1; - vpr_info("%d modules, %d entries and %d bytes in ddebug tables, %d bytes in __dyndbg section\n", - modct, entries, (int)(modct * sizeof(struct ddebug_table)), - (int)(entries * sizeof(struct _ddebug))); + vpr_info("%d prdebugs in %d modules, %d KiB in ddebug tables, %d kiB in __dyndbg section\n", + entries, modct, (int)((modct * sizeof(struct ddebug_table)) >> 10), + (int)((entries * sizeof(struct _ddebug)) >> 10)); /* apply ddebug_query boot param, dont unload tables on err */ if (ddebug_setup_string[0] != '\0') {