light: show CONFIG_DEBUG* in modinfo

This commit is contained in:
Thomas Schoebel-Theuer 2013-09-10 08:31:05 +02:00
parent 797132cfb8
commit 0755380a52
1 changed files with 12 additions and 0 deletions

View File

@ -4668,5 +4668,17 @@ MODULE_AUTHOR("Thomas Schoebel-Theuer <tst@1und1.de>");
MODULE_VERSION(BUILDTAG " (" BUILDHOST " " BUILDDATE ")");
MODULE_LICENSE("GPL");
#ifndef CONFIG_MARS_DEBUG
MODULE_INFO(debug, "production");
#else
MODULE_INFO(debug, "DEBUG");
#endif
#ifdef CONFIG_MARS_DEBUG_MEM
MODULE_INFO(io, "BAD_PERFORMANCE");
#endif
#ifdef CONFIG_MARS_DEBUG_ORDER0
MODULE_INFO(memory, "EVIL_PERFORMANCE");
#endif
module_init(init_light);
module_exit(exit_light);