From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751600AbcGNSnm (ORCPT ); Thu, 14 Jul 2016 14:43:42 -0400 Received: from terminus.zytor.com ([198.137.202.10]:34468 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751161AbcGNSni (ORCPT ); Thu, 14 Jul 2016 14:43:38 -0400 Date: Thu, 14 Jul 2016 11:43:00 -0700 From: tip-bot for Paul Gortmaker Message-ID: Cc: tglx@linutronix.de, linux-kernel@vger.kernel.org, mingo@kernel.org, paul.gortmaker@windriver.com, peterz@infradead.org, arjan@linux.intel.com, hpa@zytor.com, torvalds@linux-foundation.org Reply-To: tglx@linutronix.de, mingo@kernel.org, linux-kernel@vger.kernel.org, paul.gortmaker@windriver.com, peterz@infradead.org, hpa@zytor.com, arjan@linux.intel.com, torvalds@linux-foundation.org In-Reply-To: <20160714001901.31603-2-paul.gortmaker@windriver.com> References: <20160714001901.31603-2-paul.gortmaker@windriver.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/headers] x86: Don't use module.h just for AUTHOR / LICENSE tags Git-Commit-ID: 84e629b66882f8d1b6e40060e85e5bb27c892d42 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 84e629b66882f8d1b6e40060e85e5bb27c892d42 Gitweb: http://git.kernel.org/tip/84e629b66882f8d1b6e40060e85e5bb27c892d42 Author: Paul Gortmaker AuthorDate: Wed, 13 Jul 2016 20:18:54 -0400 Committer: Ingo Molnar CommitDate: Thu, 14 Jul 2016 13:04:20 +0200 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 Acked-by: Arjan van de Ven Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/20160714001901.31603-2-paul.gortmaker@windriver.com Signed-off-by: Ingo Molnar --- arch/x86/kernel/test_rodata.c | 5 ----- arch/x86/mm/dump_pagetables.c | 6 +----- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/arch/x86/kernel/test_rodata.c b/arch/x86/kernel/test_rodata.c index cb4a01b..222e84e 100644 --- a/arch/x86/kernel/test_rodata.c +++ b/arch/x86/kernel/test_rodata.c @@ -9,7 +9,6 @@ * as published by the Free Software Foundation; version 2 * of the License. */ -#include #include #include #include @@ -74,7 +73,3 @@ int rodata_test(void) return 0; } - -MODULE_LICENSE("GPL"); -MODULE_DESCRIPTION("Testcase for marking rodata as read-only"); -MODULE_AUTHOR("Arjan van de Ven "); diff --git a/arch/x86/mm/dump_pagetables.c b/arch/x86/mm/dump_pagetables.c index 99bfb19..5bb27fa 100644 --- a/arch/x86/mm/dump_pagetables.c +++ b/arch/x86/mm/dump_pagetables.c @@ -14,7 +14,7 @@ #include #include -#include +#include #include #include @@ -446,8 +446,4 @@ static int __init pt_dump_init(void) return 0; } - __initcall(pt_dump_init); -MODULE_LICENSE("GPL"); -MODULE_AUTHOR("Arjan van de Ven "); -MODULE_DESCRIPTION("Kernel debugging helper that dumps pagetables");