mirror of
https://github.com/acpica/acpica/
synced 2025-01-10 11:32:05 +03:00
Added internal divide functions for 64-bit integer divide/modulo
date 2001.09.14.23.05.00; author rmoore1; state Exp;
This commit is contained in:
parent
b08a0bb9a9
commit
22d6582010
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Name: acmacros.h - C macros for the entire subsystem.
|
||||
* $Revision: 1.94 $
|
||||
* $Revision: 1.95 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -288,11 +288,6 @@
|
||||
#define MUL_16(a) _MUL(a,4)
|
||||
#define MOD_16(a) _MOD(a,16)
|
||||
|
||||
/*
|
||||
* Divide and Modulo
|
||||
*/
|
||||
#define ACPI_DIVIDE(n,d) ((n) / (d))
|
||||
#define ACPI_MODULO(n,d) ((n) % (d))
|
||||
|
||||
/*
|
||||
* Rounding macros (Power of two boundaries only)
|
||||
|
Loading…
Reference in New Issue
Block a user