Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758806AbXHBQgb (ORCPT ); Thu, 2 Aug 2007 12:36:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756036AbXHBQgV (ORCPT ); Thu, 2 Aug 2007 12:36:21 -0400 Received: from ns2.suse.de ([195.135.220.15]:54896 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751165AbXHBQgT (ORCPT ); Thu, 2 Aug 2007 12:36:19 -0400 From: Andreas Schwab To: "Luck, Tony" Cc: , "Adrian Bunk" , "Sam Ravnborg" , "Jan Dittmer" , "Len Brown" , "Linus Torvalds" , "Andrew Morton" , , , Subject: Re: scripts/mod/file2alias.c cross compile problem References: <617E1C2C70743745A92448908E030B2A0211AFF0@scsmsx411.amr.corp.intel.com> X-Yow: ...A housewife is wearing a polypyrene jumpsuit!! Date: Thu, 02 Aug 2007 18:36:14 +0200 In-Reply-To: <617E1C2C70743745A92448908E030B2A0211AFF0@scsmsx411.amr.corp.intel.com> (Tony Luck's message of "Thu\, 2 Aug 2007 09\:25\:58 -0700") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 943 Lines: 27 "Luck, Tony" writes: >> +#define FILLUP_LEN 7 /* dirty fix for i386 -> 64bit cross-compilation */ >> >> struct acpi_device_id { >> __u8 id[ACPI_ID_LEN]; >> + __u8 dummy[FILLUP_LEN]; >> kernel_ulong_t driver_data; >> }; > > What's so special about this structure that we get an error? It's special because it's a device_id structure, and those structures must come out identical using either the host or the target compiler. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra?e 5, 90409 N?rnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." - 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/