From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 69FE11A0120 for ; Mon, 29 Dec 2014 21:03:42 +1100 (AEDT) Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 29 Dec 2014 10:03:37 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 77141219005C for ; Mon, 29 Dec 2014 10:03:04 +0000 (GMT) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id sBTA3ZdK35782810 for ; Mon, 29 Dec 2014 10:03:35 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id sBTA3Sdf024577 for ; Mon, 29 Dec 2014 03:03:34 -0700 Date: Mon, 29 Dec 2014 11:03:24 +0100 From: Martin Schwidefsky To: Pranith Kumar Subject: Re: [PATCH] srcu: Isolate srcu sections using CONFIG_SRCU Message-ID: <20141229110324.50f1339b@mschwide> In-Reply-To: <1419700667-24888-1-git-send-email-bobby.prani@gmail.com> References: <1419700667-24888-1-git-send-email-bobby.prani@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: "open list:S390" , Lai Jiangshan , Tiejun Chen , Heiko Carstens , Josh Triplett , Steven Rostedt , open list , Scott Wood , Jens Freimann , Paul Mackerras , Anton Blanchard , Andy Fleming , Mathieu Desnoyers , "supporter:S390" , "Paul E. McKenney" , "open list:LINUX FOR POWERPC..." , Christian Borntraeger , Daniel Walter List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sat, 27 Dec 2014 12:17:43 -0500 Pranith Kumar wrote: > @@ -65,10 +65,13 @@ > #include > #include > #include > -#include > #include > #include > > +#if IS_ENABLED(CONFIG_KVM) > +#include > +#endif > + > #ifdef DEBUG > #define DBG(fmt...) udbg_printf(fmt) > #else I always cringe when I see an include protected by an #ifdef. Is this really necessary? All that is done in asm-offsets.c is to calculate offsets, the code where the two offsets in question are used (entry64.S) does have the #ifdef for CONFIG_KVM. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.