Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751720AbbDLOn6 (ORCPT ); Sun, 12 Apr 2015 10:43:58 -0400 Received: from zeroeth.unpythonic.net ([162.243.242.154]:35709 "EHLO zeroeth.unpythonic.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751330AbbDLOnz (ORCPT ); Sun, 12 Apr 2015 10:43:55 -0400 Date: Sun, 12 Apr 2015 09:43:46 -0500 From: Jeff Epler To: Guenter Roeck Cc: Richard Weinberger , Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] xtensa: Fix execdomain removal Message-ID: <20150412144346.GD7215@unpythonic.net> References: <1428805191-27089-1-git-send-email-linux@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1428805191-27089-1-git-send-email-linux@roeck-us.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 691 Lines: 19 On Sat, Apr 11, 2015 at 07:19:51PM -0700, Guenter Roeck wrote: > The removal of exexdomain changes pointer offsets into the thread_info > structure. ... > -#define TI_EXEC_DOMAIN 0x00000004 > -#define TI_FLAGS 0x00000008 > +#define TI_FLAGS 0x00000004 Hmm. If these have to be maintained by hand, perhaps they can be BUILD_BUG_ON'd in some appropriate C file? e.g., BUILD_BUG_ON(TI_FLAGS != offsetof(struct thread_info, flags)); Jeff -- 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/