diff options
author | Len Brown <len.brown@intel.com> | 2005-08-05 00:44:28 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-08-05 00:45:14 -0400 |
commit | 4be44fcd3bf648b782f4460fd06dfae6c42ded4b (patch) | |
tree | 5b5b7d296ea58786f53b95e5eac9565ff66890b0 /include/acpi/platform | |
parent | c65ade4dc8b486e8c8b9b0a6399789a5428e2039 (diff) |
[ACPI] Lindent all ACPI files
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/platform')
-rw-r--r-- | include/acpi/platform/acenv.h | 33 | ||||
-rw-r--r-- | include/acpi/platform/acgcc.h | 2 | ||||
-rw-r--r-- | include/acpi/platform/aclinux.h | 8 |
3 files changed, 17 insertions, 26 deletions
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h index bae1fbed097a..16609c1ab2eb 100644 --- a/include/acpi/platform/acenv.h +++ b/include/acpi/platform/acenv.h | |||
@@ -44,7 +44,6 @@ | |||
44 | #ifndef __ACENV_H__ | 44 | #ifndef __ACENV_H__ |
45 | #define __ACENV_H__ | 45 | #define __ACENV_H__ |
46 | 46 | ||
47 | |||
48 | /* | 47 | /* |
49 | * Configuration for ACPI tools and utilities | 48 | * Configuration for ACPI tools and utilities |
50 | */ | 49 | */ |
@@ -134,7 +133,7 @@ | |||
134 | #elif defined(WIN64) | 133 | #elif defined(WIN64) |
135 | #include "acwin64.h" | 134 | #include "acwin64.h" |
136 | 135 | ||
137 | #elif defined(MSDOS) /* Must appear after WIN32 and WIN64 check */ | 136 | #elif defined(MSDOS) /* Must appear after WIN32 and WIN64 check */ |
138 | #include "acdos16.h" | 137 | #include "acdos16.h" |
139 | 138 | ||
140 | #elif defined(__FreeBSD__) | 139 | #elif defined(__FreeBSD__) |
@@ -180,7 +179,6 @@ | |||
180 | 179 | ||
181 | /*! [End] no source code translation !*/ | 180 | /*! [End] no source code translation !*/ |
182 | 181 | ||
183 | |||
184 | /* | 182 | /* |
185 | * Debugger threading model | 183 | * Debugger threading model |
186 | * Use single threaded if the entire subsystem is contained in an application | 184 | * Use single threaded if the entire subsystem is contained in an application |
@@ -199,8 +197,7 @@ | |||
199 | #else | 197 | #else |
200 | #define DEBUGGER_THREADING DEBUGGER_MULTI_THREADED | 198 | #define DEBUGGER_THREADING DEBUGGER_MULTI_THREADED |
201 | #endif | 199 | #endif |
202 | #endif /* !DEBUGGER_THREADING */ | 200 | #endif /* !DEBUGGER_THREADING */ |
203 | |||
204 | 201 | ||
205 | /****************************************************************************** | 202 | /****************************************************************************** |
206 | * | 203 | * |
@@ -222,7 +219,7 @@ | |||
222 | #include <string.h> | 219 | #include <string.h> |
223 | #include <ctype.h> | 220 | #include <ctype.h> |
224 | 221 | ||
225 | #endif /* ACPI_USE_STANDARD_HEADERS */ | 222 | #endif /* ACPI_USE_STANDARD_HEADERS */ |
226 | 223 | ||
227 | /* | 224 | /* |
228 | * We will be linking to the standard Clib functions | 225 | * We will be linking to the standard Clib functions |
@@ -260,18 +257,18 @@ | |||
260 | *****************************************************************************/ | 257 | *****************************************************************************/ |
261 | 258 | ||
262 | /* | 259 | /* |
263 | * Use local definitions of C library macros and functions | 260 | * Use local definitions of C library macros and functions |
264 | * NOTE: The function implementations may not be as efficient | 261 | * NOTE: The function implementations may not be as efficient |
265 | * as an inline or assembly code implementation provided by a | 262 | * as an inline or assembly code implementation provided by a |
266 | * native C library. | 263 | * native C library. |
267 | */ | 264 | */ |
268 | 265 | ||
269 | #ifndef va_arg | 266 | #ifndef va_arg |
270 | 267 | ||
271 | #ifndef _VALIST | 268 | #ifndef _VALIST |
272 | #define _VALIST | 269 | #define _VALIST |
273 | typedef char *va_list; | 270 | typedef char *va_list; |
274 | #endif /* _VALIST */ | 271 | #endif /* _VALIST */ |
275 | 272 | ||
276 | /* | 273 | /* |
277 | * Storage alignment properties | 274 | * Storage alignment properties |
@@ -287,8 +284,7 @@ typedef char *va_list; | |||
287 | #define va_end(ap) (void) 0 | 284 | #define va_end(ap) (void) 0 |
288 | #define va_start(ap, A) (void) ((ap) = (((char *) &(A)) + (_bnd (A,_AUPBND)))) | 285 | #define va_start(ap, A) (void) ((ap) = (((char *) &(A)) + (_bnd (A,_AUPBND)))) |
289 | 286 | ||
290 | #endif /* va_arg */ | 287 | #endif /* va_arg */ |
291 | |||
292 | 288 | ||
293 | #define ACPI_STRSTR(s1,s2) acpi_ut_strstr ((s1), (s2)) | 289 | #define ACPI_STRSTR(s1,s2) acpi_ut_strstr ((s1), (s2)) |
294 | #define ACPI_STRCHR(s1,c) acpi_ut_strchr ((s1), (c)) | 290 | #define ACPI_STRCHR(s1,c) acpi_ut_strchr ((s1), (c)) |
@@ -306,8 +302,7 @@ typedef char *va_list; | |||
306 | #define ACPI_TOUPPER acpi_ut_to_upper | 302 | #define ACPI_TOUPPER acpi_ut_to_upper |
307 | #define ACPI_TOLOWER acpi_ut_to_lower | 303 | #define ACPI_TOLOWER acpi_ut_to_lower |
308 | 304 | ||
309 | #endif /* ACPI_USE_SYSTEM_CLIBRARY */ | 305 | #endif /* ACPI_USE_SYSTEM_CLIBRARY */ |
310 | |||
311 | 306 | ||
312 | /****************************************************************************** | 307 | /****************************************************************************** |
313 | * | 308 | * |
@@ -348,8 +343,7 @@ typedef char *va_list; | |||
348 | #define ACPI_ACQUIRE_GLOBAL_LOCK(Glptr, acq) | 343 | #define ACPI_ACQUIRE_GLOBAL_LOCK(Glptr, acq) |
349 | #define ACPI_RELEASE_GLOBAL_LOCK(Glptr, acq) | 344 | #define ACPI_RELEASE_GLOBAL_LOCK(Glptr, acq) |
350 | 345 | ||
351 | #endif /* ACPI_ASM_MACROS */ | 346 | #endif /* ACPI_ASM_MACROS */ |
352 | |||
353 | 347 | ||
354 | #ifdef ACPI_APPLICATION | 348 | #ifdef ACPI_APPLICATION |
355 | 349 | ||
@@ -359,11 +353,10 @@ typedef char *va_list; | |||
359 | #define BREAKPOINT3 | 353 | #define BREAKPOINT3 |
360 | #endif | 354 | #endif |
361 | 355 | ||
362 | |||
363 | /****************************************************************************** | 356 | /****************************************************************************** |
364 | * | 357 | * |
365 | * Compiler-specific information is contained in the compiler-specific | 358 | * Compiler-specific information is contained in the compiler-specific |
366 | * headers. | 359 | * headers. |
367 | * | 360 | * |
368 | *****************************************************************************/ | 361 | *****************************************************************************/ |
369 | #endif /* __ACENV_H__ */ | 362 | #endif /* __ACENV_H__ */ |
diff --git a/include/acpi/platform/acgcc.h b/include/acpi/platform/acgcc.h index 39264127574c..4c0e0ba09ba0 100644 --- a/include/acpi/platform/acgcc.h +++ b/include/acpi/platform/acgcc.h | |||
@@ -60,4 +60,4 @@ | |||
60 | */ | 60 | */ |
61 | #define ACPI_UNUSED_VAR __attribute__ ((unused)) | 61 | #define ACPI_UNUSED_VAR __attribute__ ((unused)) |
62 | 62 | ||
63 | #endif /* __ACGCC_H__ */ | 63 | #endif /* __ACGCC_H__ */ |
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 4fbc0fd52a27..c93e6562f0e1 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -71,9 +71,7 @@ | |||
71 | #define acpi_cache_t kmem_cache_t | 71 | #define acpi_cache_t kmem_cache_t |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | 74 | #else /* !__KERNEL__ */ | |
75 | |||
76 | #else /* !__KERNEL__ */ | ||
77 | 75 | ||
78 | #include <stdarg.h> | 76 | #include <stdarg.h> |
79 | #include <string.h> | 77 | #include <string.h> |
@@ -94,10 +92,10 @@ | |||
94 | 92 | ||
95 | #define __cdecl | 93 | #define __cdecl |
96 | #define ACPI_FLUSH_CPU_CACHE() | 94 | #define ACPI_FLUSH_CPU_CACHE() |
97 | #endif /* __KERNEL__ */ | 95 | #endif /* __KERNEL__ */ |
98 | 96 | ||
99 | /* Linux uses GCC */ | 97 | /* Linux uses GCC */ |
100 | 98 | ||
101 | #include "acgcc.h" | 99 | #include "acgcc.h" |
102 | 100 | ||
103 | #endif /* __ACLINUX_H__ */ | 101 | #endif /* __ACLINUX_H__ */ |