x86: consolidate header guards
This patch is the result of an automatic script that consolidates the format of all the headers in include/asm-x86/. The format: 1. No leading underscore. Names with leading underscores are reserved. 2. Pathname components are separated by two underscores. So we can distinguish between mm_types.h and mm/types.h. 3. Everything except letters and numbers are turned into single underscores. Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
* directly because of the awkward 8-bit access mechanism of the 82C54
|
||||
* device.
|
||||
*/
|
||||
#ifndef _MACH_TIMER_H
|
||||
#define _MACH_TIMER_H
|
||||
#ifndef ASM_X86__MACH_DEFAULT__MACH_TIMER_H
|
||||
#define ASM_X86__MACH_DEFAULT__MACH_TIMER_H
|
||||
|
||||
#define CALIBRATE_TIME_MSEC 30 /* 30 msecs */
|
||||
#define CALIBRATE_LATCH \
|
||||
@@ -45,4 +45,4 @@ static inline void mach_countup(unsigned long *count_p)
|
||||
*count_p = count;
|
||||
}
|
||||
|
||||
#endif /* !_MACH_TIMER_H */
|
||||
#endif /* ASM_X86__MACH_DEFAULT__MACH_TIMER_H */
|
||||
|
Reference in New Issue
Block a user