projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bad asm constrants for x86-64 cpuid()
[fio.git]
/
arch
/
arch.h
diff --git
a/arch/arch.h
b/arch/arch.h
index f6a8e998672c4e4425103e576238946be9cabb61..31d96d403167dd3435b6f9e66e68a055f605e7b6 100644
(file)
--- a/
arch/arch.h
+++ b/
arch/arch.h
@@
-1,14
+1,6
@@
#ifndef ARCH_H
#define ARCH_H
#ifndef ARCH_H
#define ARCH_H
-#include <stdint.h>
-
-#ifdef __WORDSIZE
-#define BITS_PER_LONG __WORDSIZE
-#else
-#define BITS_PER_LONG 32
-#endif
-
enum {
arch_x86_64 = 1,
arch_i386,
enum {
arch_x86_64 = 1,
arch_i386,
@@
-35,6
+27,8
@@
enum {
ARCH_FLAG_4 = 1 << 3,
};
ARCH_FLAG_4 = 1 << 3,
};
+extern unsigned long arch_flags;
+
#if defined(__i386__)
#include "arch-x86.h"
#elif defined(__x86_64__)
#if defined(__i386__)
#include "arch-x86.h"
#elif defined(__x86_64__)