1 /******************************************************************************
3 * Name: aclinux.h - OS specific defines, etc.
6 *****************************************************************************/
9 * Copyright (C) 2000, 2001 R. Byron Moore
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 #define ACPI_OS_NAME "Linux"
31 #undef ACPI_USE_SYSTEM_CLIBRARY
35 #include <linux/config.h>
36 #include <linux/string.h>
37 #include <linux/kernel.h>
38 #include <linux/ctype.h>
39 #include <asm/system.h>
40 #include <asm/atomic.h>
41 #include <asm/div64.h>
53 #undef DEBUGGER_THREADING
54 #define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED
57 /* Linux ia32 can't do int64 well */
58 #define ACPI_NO_INTEGER64_SUPPORT
59 /* And the ia32 kernel doesn't include 64-bit divide support */
60 #define ACPI_DIV64(dividend, divisor) do_div(dividend, divisor)
62 #define ACPI_DIV64(dividend, divisor) ACPI_DIVIDE(dividend, divisor)
66 #endif /* __ACLINUX_H__ */