summaryrefslogtreecommitdiff
path: root/kernel/unifdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/unifdef.h')
-rw-r--r--kernel/unifdef.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/kernel/unifdef.h b/kernel/unifdef.h
new file mode 100644
index 00000000..ec774415
--- /dev/null
+++ b/kernel/unifdef.h
@@ -0,0 +1,28 @@
+#ifndef KVM_UNIFDEF_H
+#define KVM_UNIFDEF_H
+
+#ifdef __i386__
+#ifndef CONFIG_X86_32
+#define CONFIG_X86_32 1
+#endif
+#endif
+
+#ifdef __x86_64__
+#ifndef CONFIG_X86_64
+#define CONFIG_X86_64 1
+#endif
+#endif
+
+#if defined(__i386__) || defined (__x86_64__)
+#ifndef CONFIG_X86
+#define CONFIG_X86 1
+#endif
+#endif
+
+#ifdef __ia64__
+#ifndef CONFIG_IA64
+#define CONFIG_IA64 1
+#endif
+#endif
+
+#endif