x86: Don't use module.h just for AUTHOR / LICENSE tags
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 14 Jul 2016 00:18:54 +0000 (20:18 -0400)
committerIngo Molnar <mingo@kernel.org>
Thu, 14 Jul 2016 11:04:20 +0000 (13:04 +0200)
commit84e629b66882f8d1b6e40060e85e5bb27c892d42
tree91c5dc98f19f6bb31690a45c84d9ca9788f5f53f
parent8b3843996d7ce863b6057287421e8f539b5ffd15
x86: Don't use module.h just for AUTHOR / LICENSE tags

The Kconfig controlling compilation of these files are:

 arch/x86/Kconfig.debug:config DEBUG_RODATA_TEST
 arch/x86/Kconfig.debug: bool "Testcase for the marking rodata read-only"

 arch/x86/Kconfig.debug:config X86_PTDUMP_CORE
 arch/x86/Kconfig.debug: def_bool n

...meaning that it currently is not being built as a module by anyone.

Lets remove the couple traces of modular infrastructure use, so that
when reading the driver there is no doubt it is builtin-only.

We delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20160714001901.31603-2-paul.gortmaker@windriver.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/test_rodata.c
arch/x86/mm/dump_pagetables.c