Commit:     0cd4554df0c261f7ba74786e471ccaa0e3725fb9
Parent:     8140a90ec180192b202af086e7a582e5937c5580
Author:     Len Brown <[EMAIL PROTECTED]>
AuthorDate: Mon Mar 19 23:51:36 2007 -0400
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Mon Mar 19 23:51:36 2007 -0400

    ACPI: IA64: fix %ll build warnings
    acpi_integer is 64-bits on all platforms, and so was defined as a u64.
    i386 and x86_64 define u64 as unsigned long long.
    ia64 defines u64 as long.
    While these are all 64-bits, the kernel build warns about formating
    a "long" with %ll:
    drivers/ata/libata-acpi.c:176: warning: long long unsigned int format, 
acpi_integer arg (arg 5)
    So skip using "u64" and define acpi_integer as "unsigned long long"
    to make gcc happy with %ll.
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
 include/acpi/actypes.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h
index 72a6e2c..56bf492 100644
--- a/include/acpi/actypes.h
+++ b/include/acpi/actypes.h
@@ -344,7 +344,7 @@ typedef u32 acpi_integer;
 /* 64-bit integers */
-typedef u64 acpi_integer;
+typedef unsigned long long              acpi_integer;
 #define ACPI_INTEGER_MAX                ACPI_UINT64_MAX
 #define ACPI_INTEGER_BIT_SIZE           64
 #define ACPI_MAX_DECIMAL_DIGITS         20     /* 2^64 = 
18,446,744,073,709,551,616 */
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

Reply via email to