From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758799AbYGHRFH (ORCPT ); Tue, 8 Jul 2008 13:05:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753522AbYGHREy (ORCPT ); Tue, 8 Jul 2008 13:04:54 -0400 Received: from xc.sipsolutions.net ([83.246.72.84]:49690 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754068AbYGHREx (ORCPT ); Tue, 8 Jul 2008 13:04:53 -0400 Message-Id: <20080708170045.219414000@sipsolutions.net> References: <20080708170015.470877000@sipsolutions.net> User-Agent: quilt/0.46-1 Date: Tue, 08 Jul 2008 19:00:20 +0200 From: Johannes Berg To: linux-kernel@vger.kernel.org Cc: Rusty Russell , Christoph Hellwig , "David S. Miller" Subject: [RFC 05/11] remove CONFIG_KMOD from sparc64 Content-Disposition: inline; filename=config-kmod-remove-sparc64.patch Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org One place is just a comment, the other a conditional, unused inclusion of linux/kmod.h. Signed-off-by: Johannes Berg Cc: David S. Miller --- arch/sparc64/kernel/process.c | 6 +++--- arch/sparc64/kernel/traps.c | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) --- everything.orig/arch/sparc64/kernel/traps.c 2008-07-08 18:54:05.000000000 +0200 +++ everything/arch/sparc64/kernel/traps.c 2008-07-08 18:56:57.000000000 +0200 @@ -37,9 +37,6 @@ #include #include #include -#ifdef CONFIG_KMOD -#include -#endif #include #include "entry.h" --- everything.orig/arch/sparc64/kernel/process.c 2008-07-08 18:54:05.000000000 +0200 +++ everything/arch/sparc64/kernel/process.c 2008-07-08 18:56:57.000000000 +0200 @@ -691,9 +691,9 @@ int copy_thread(int nr, unsigned long cl ((unsigned long) child_sf) - STACK_BIAS; /* Special case, if we are spawning a kernel thread from - * a userspace task (via KMOD, NFS, or similar) we must - * disable performance counters in the child because the - * address space and protection realm are changing. + * a userspace task (usermode helper, NFS or similar), we + * must disable performance counters in the child because + * the address space and protection realm are changing. */ if (t->flags & _TIF_PERFCTR) { t->user_cntd0 = t->user_cntd1 = NULL; --