From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 29 Dec 2014 11:03:24 +0100 From: Martin Schwidefsky 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Archive: To: Pranith Kumar 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: 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.