diff options
author | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-08-19 18:02:27 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-08-19 18:02:27 +0200 |
commit | 9efabc84768ee8e79b50ad6ad6cff94d66da01f7 (patch) | |
tree | 35e54787ab6708116627dfbd74baa007947c5b4b /mm/memblock.c | |
parent | Linux 3.1-rc2 (diff) | |
download | linux-9efabc84768ee8e79b50ad6ad6cff94d66da01f7.tar.xz linux-9efabc84768ee8e79b50ad6ad6cff94d66da01f7.zip |
UBI: do not link debug messages when debugging is disabled
Michal Marek spotted the same issue in UBIFS and this patch fixes UBI,
see "UBIFS: not build debug messages with CONFIG_UBIFS_FS_DEBUG disabled"
When UBI debugging is disabled, we have debugging messages defined as:
if (0)
pr_debug()
But pr_debug macro defines data structures with debugging data and makes
the linux binary larger, even though we have "if (0)".
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'mm/memblock.c')
0 files changed, 0 insertions, 0 deletions