ACPICA: Restructure includes into public/private
[deliverable/linux.git] / drivers / acpi / utilities / utmath.c
index 0c56a0d20b29064fd375f50418feafc89fca1922..616d7b271c9ab5fb801e142b1f6b3916d27ffd78 100644 (file)
@@ -5,7 +5,7 @@
  ******************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2007, R. Byron Moore
+ * Copyright (C) 2000 - 2008, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -42,6 +42,7 @@
  */
 
 #include <acpi/acpi.h>
+#include <acpi/accommon.h>
 
 #define _COMPONENT          ACPI_UTILITIES
 ACPI_MODULE_NAME("utmath")
@@ -276,7 +277,7 @@ acpi_ut_short_divide(acpi_integer in_dividend,
                *out_quotient = in_dividend / divisor;
        }
        if (out_remainder) {
-               *out_remainder = (u32) in_dividend % divisor;
+               *out_remainder = (u32) (in_dividend % divisor);
        }
 
        return_ACPI_STATUS(AE_OK);
This page took 0.025949 seconds and 5 git commands to generate.