From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755436Ab3BDWI4 (ORCPT ); Mon, 4 Feb 2013 17:08:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39482 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754654Ab3BDWIz (ORCPT ); Mon, 4 Feb 2013 17:08:55 -0500 From: Jesper Dangaard Brouer Subject: [TRIVIAL PATCH V2] Doc: percpu_counter doc code for better readability To: Jiri Kosina , Tejun Heo , linux-kernel@vger.kernel.org Cc: Jesper Dangaard Brouer , netdev@vger.kernel.org, joe@perches.com Date: Mon, 04 Feb 2013 23:14:12 +0100 Message-ID: <20130204221356.29548.35746.stgit@dragon> In-Reply-To: <20130204214952.GJ27963@mtj.dyndns.org> References: <20130204214952.GJ27963@mtj.dyndns.org> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Help people reading the percpu_counter code, to notice the ifdef else statement that seperates CONFIG_SMP. Signed-off-by: Jesper Dangaard Brouer Acked-by: Tejun Heo --- include/linux/percpu_counter.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/percpu_counter.h b/include/linux/percpu_counter.h index b9df9ed..d5dd465 100644 --- a/include/linux/percpu_counter.h +++ b/include/linux/percpu_counter.h @@ -83,7 +83,7 @@ static inline int percpu_counter_initialized(struct percpu_counter *fbc) return (fbc->counters != NULL); } -#else +#else /* !CONFIG_SMP */ struct percpu_counter { s64 count;