From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759098Ab1F1PnA (ORCPT ); Tue, 28 Jun 2011 11:43:00 -0400 Received: from mail-fx0-f52.google.com ([209.85.161.52]:42732 "EHLO mail-fx0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932112Ab1F1Pks (ORCPT ); Tue, 28 Jun 2011 11:40:48 -0400 Date: Tue, 28 Jun 2011 19:40:44 +0400 From: Cyrill Gorcunov To: Stephane Eranian Cc: Don Zickus , Ingo Molnar , Lin Ming , Peter Zijlstra , Arnaldo Carvalho de Melo , Frederic Weisbecker , LKML Subject: Re: [PATCH] perf, x86: Add hw_watchdog_set_attr() in a sake of nmi-watchdog on P4 Message-ID: <20110628154044.GF1159@sun> References: <20110623124918.GC13050@sun> <20110627190358.GQ3765@redhat.com> <20110627193201.GB1159@sun> <20110628152827.GE1159@sun> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 28, 2011 at 05:32:27PM +0200, Stephane Eranian wrote: > On Tue, Jun 28, 2011 at 5:28 PM, Cyrill Gorcunov wrote: > > On Tue, Jun 28, 2011 at 05:24:36PM +0200, Stephane Eranian wrote: > > ... > >> > > >> > Yeah, not the _best_ place. Not sure too where to put it, patches are welcome ;) > >> > > >> No matter what, this file has to remain in a file that's common to all arch. > > > > well, hard to say, Stephane, nmi-watchdog is x86 specific as far as I know. > > > Sorry I was talking about the weak function() not the file. > Yes, I get it ;) I mean that this __weak function is always called from x86 site and outside of CONFIG_HARDLOCKUP_DETECTOR doesn't make much sense that is why I placed it there in first place. Though it look somehow... maybe "strange" I would say, that's why I agreed with Don it's not the best place. Cyrill