Re: scripts/mod/file2alias.c cross compile problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "Luck, Tony" <tony.luck@xxxxxxxxx>
- Subject: Re: scripts/mod/file2alias.c cross compile problem
- From: Andreas Schwab <schwab@xxxxxxx>
- Date: Thu, 02 Aug 2007 18:36:14 +0200
- Cc: <trenn@xxxxxxx>, "Adrian Bunk" <bunk@xxxxxxxxx>, "Sam Ravnborg" <sam@xxxxxxxxxxxx>, "Jan Dittmer" <jdi@xxxxxxx>, "Len Brown" <lenb@xxxxxxxxxx>, "Linus Torvalds" <torvalds@xxxxxxxxxxxxxxxxxxxx>, "Andrew Morton" <akpm@xxxxxxxxxxxxxxxxxxxx>, <linux-acpi@xxxxxxxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>, <linux-ia64@xxxxxxxxxxxxxxx>
- In-reply-to: <617E1C2C70743745A92448908E030B2A0211AFF0@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> (Tony Luck's message of "Thu\, 2 Aug 2007 09\:25\:58 -0700")
- References: <617E1C2C70743745A92448908E030B2A0211AFF0@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)
"Luck, Tony" <tony.luck@xxxxxxxxx> 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@xxxxxxx
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-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]