Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756499Ab1COT5D (ORCPT ); Tue, 15 Mar 2011 15:57:03 -0400 Received: from mout.perfora.net ([74.208.4.194]:51462 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755263Ab1COT45 (ORCPT ); Tue, 15 Mar 2011 15:56:57 -0400 Date: Tue, 15 Mar 2011 15:56:36 -0400 From: Stephen Wilson To: Srikar Dronamraju Cc: Peter Zijlstra , Ingo Molnar , Steven Rostedt , Linux-mm , Arnaldo Carvalho de Melo , Linus Torvalds , Masami Hiramatsu , Christoph Hellwig , Ananth N Mavinakayanahalli , Andi Kleen , Oleg Nesterov , Andrew Morton , Jim Keniston , Roland McGrath , SystemTap , LKML , "Paul E. McKenney" Subject: Re: [PATCH v2 2.6.38-rc8-tip 16/20] 16: uprobes: register a notifier for uprobes. Message-ID: <20110315195636.GB24972@fibrous.localdomain> References: <20110314133403.27435.7901.sendpatchset@localhost6.localdomain6> <20110314133708.27435.81257.sendpatchset@localhost6.localdomain6> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110314133708.27435.81257.sendpatchset@localhost6.localdomain6> User-Agent: Mutt/1.5.19 (2009-01-05) X-Provags-ID: V02:K0:5buwGYTx2W+eubxkUejqChUNSQKhcwXGIYdDlZoSAax ehBkpy+3aF/7+EFvmMM46Tzx0Yhlyr8EueYPTdSNdN9pBWqxOb qu2IAk6JooMVp+1gV/qFJinWtK7zWb60JGqciHREnfdXQCS480 nYSBjrE0KdSEhYuqkrj/PHJLWvYbFq0HJ7qnrDfXAgkMPHElli Dd4dijdC6BZ43nPXGsseueN9L7ClWS20wi1iDSz25Q= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 550 Lines: 19 On Mon, Mar 14, 2011 at 07:07:08PM +0530, Srikar Dronamraju wrote: > +static int __init init_uprobes(void) > +{ > + register_die_notifier(&uprobes_exception_nb); > + return 0; > +} > + Although not currently needed, perhaps it would be best to return the result of register_die_notifier() ? -- steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/