Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759281AbXFOXzp (ORCPT ); Fri, 15 Jun 2007 19:55:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754813AbXFOXzh (ORCPT ); Fri, 15 Jun 2007 19:55:37 -0400 Received: from gate.crashing.org ([63.228.1.57]:53945 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752679AbXFOXzg (ORCPT ); Fri, 15 Jun 2007 19:55:36 -0400 Subject: Re: [PATCH] Introduce compat_u64 and compat_s64 types From: Benjamin Herrenschmidt To: Matthew Wilcox Cc: Arnd Bergmann , David Woodhouse , Linux Kernel Mailing List , Dave Airlie , linux-arch@vger.kernel.org, Andrew Morton In-Reply-To: <20070615134512.GG8154@parisc-linux.org> References: <200706150159.l5F1xNgM000459@hera.kernel.org> <200706151131.38429.arnd@arndb.de> <20070615121133.GF8154@parisc-linux.org> <200706151442.23939.arnd@arndb.de> <20070615134512.GG8154@parisc-linux.org> Content-Type: text/plain Date: Sat, 16 Jun 2007 09:54:22 +1000 Message-Id: <1181951662.26853.97.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 447 Lines: 17 On Fri, 2007-06-15 at 07:45 -0600, Matthew Wilcox wrote: > > $ ./test > offset of foo->x is 8 > offset of bar->x is 4 Looks to me like bar (that is compat_s64) is doing the right thing, no ? Ben. - 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/