acgcc.h (320424c7d44f54c18df9812fd7c45f6963524002) acgcc.h (c0891ac15f0428ffa81b2e818d416bdf3cb74ab6)
1/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2/******************************************************************************
3 *
4 * Name: acgcc.h - GCC specific defines, etc.
5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.
7 *
8 *****************************************************************************/

--- 8 unchanged lines hidden (view full) ---

17#ifndef va_arg
18#ifdef ACPI_USE_BUILTIN_STDARG
19typedef __builtin_va_list va_list;
20#define va_start(v, l) __builtin_va_start(v, l)
21#define va_end(v) __builtin_va_end(v)
22#define va_arg(v, l) __builtin_va_arg(v, l)
23#define va_copy(d, s) __builtin_va_copy(d, s)
24#else
1/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2/******************************************************************************
3 *
4 * Name: acgcc.h - GCC specific defines, etc.
5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.
7 *
8 *****************************************************************************/

--- 8 unchanged lines hidden (view full) ---

17#ifndef va_arg
18#ifdef ACPI_USE_BUILTIN_STDARG
19typedef __builtin_va_list va_list;
20#define va_start(v, l) __builtin_va_start(v, l)
21#define va_end(v) __builtin_va_end(v)
22#define va_arg(v, l) __builtin_va_arg(v, l)
23#define va_copy(d, s) __builtin_va_copy(d, s)
24#else
25#include <stdarg.h>
25#include <linux/stdarg.h>
26#endif
27#endif
28
29#define ACPI_INLINE __inline__
30
31/* Function name is used for debug output. Non-ANSI, compiler-dependent */
32
33#define ACPI_GET_FUNCTION_NAME __func__

--- 39 unchanged lines hidden ---
26#endif
27#endif
28
29#define ACPI_INLINE __inline__
30
31/* Function name is used for debug output. Non-ANSI, compiler-dependent */
32
33#define ACPI_GET_FUNCTION_NAME __func__

--- 39 unchanged lines hidden ---