File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 10
10
#ifndef __ACGCC_H__
11
11
#define __ACGCC_H__
12
12
13
- /*
14
- * Use compiler specific <stdarg.h> is a good practice for even when
15
- * -nostdinc is specified (i.e., ACPI_USE_STANDARD_HEADERS undefined.
16
- */
17
13
#ifndef va_arg
18
- #ifdef ACPI_USE_BUILTIN_STDARG
19
- typedef __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
14
#ifdef __KERNEL__
26
15
#include <linux/stdarg.h>
27
16
#else
28
- /* Used to build acpi tools */
29
17
#include <stdarg.h>
30
18
#endif /* __KERNEL__ */
31
- #endif /* ACPI_USE_BUILTIN_STDARG */
32
19
#endif /* ! va_arg */
33
20
34
21
#define ACPI_INLINE __inline__
You can’t perform that action at this time.
0 commit comments