Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=118142080a75fc1ce599c73b7894a71b4813828e
Commit:     118142080a75fc1ce599c73b7894a71b4813828e
Parent:     471e7a44848f467c9b83adc3463d019d2fa8817f
Author:     Thomas Renninger <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 16 16:27:15 2007 +0200
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Fri Aug 17 15:16:37 2007 -0700

    Cross-compilation between e.g. i386 -> 64bit could break -> work around it
    
    Adrian Bunk: scripts/mod/file2alias.c is compiled with HOSTCC and ensures 
that
    kernel_ulong_t is correct, but it can't cope with different padding on
    different architectures.
    
    Signed-off-by: Thomas Renninger <[EMAIL PROTECTED]>
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 include/linux/mod_devicetable.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 2ada8ee..4dc5fa8 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -159,7 +159,8 @@ struct ap_device_id {
 
 #define AP_DEVICE_ID_MATCH_DEVICE_TYPE         0x01
 
-#define ACPI_ID_LEN    9
+#define ACPI_ID_LEN    16 /* only 9 bytes needed here, 16 bytes are used */
+                          /* to workaround crosscompile issues */
 
 struct acpi_device_id {
        __u8 id[ACPI_ID_LEN];
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to