From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752081Ab1ADIGG (ORCPT ); Tue, 4 Jan 2011 03:06:06 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:53993 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751960Ab1ADIFx (ORCPT ); Tue, 4 Jan 2011 03:05:53 -0500 Message-ID: <4D22D4F1.50505@cn.fujitsu.com> Date: Tue, 04 Jan 2011 16:06:09 +0800 From: Lai Jiangshan User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc14 Thunderbird/3.1.4 MIME-Version: 1.0 To: Mathieu Desnoyers , Steven Rostedt , "Paul E. McKenney" , Arnd Bergmann , LKML Subject: [PATCH 2/3] tracepoint: add __rcu annotation X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.1FP4|July 25, 2010) at 2011-01-04 16:05:28, Serialize by Router on mailserver/fnst(Release 8.5.1FP4|July 25, 2010) at 2011-01-04 16:05:29, Serialize complete at 2011-01-04 16:05:29 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add __rcu annotation to : (struct tracepoint)->funcs signed-off-by: Lai Jiangshan --- diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index d3e4f87..e0e400d 100644 --- a/include/linux/tracepoint.h +++ b/include/linux/tracepoint.h @@ -32,7 +32,7 @@ struct tracepoint { int state; /* State. */ void (*regfunc)(void); void (*unregfunc)(void); - struct tracepoint_func *funcs; + struct tracepoint_func __rcu *funcs; } __attribute__((aligned(32))); /* * Aligned on 32 bytes because it is * globally visible and gcc happily