Refactor switch context ASM files to comply to Wizard.
[bertos.git] / bertos / emul / switch.S
index 93d9b7c77f6eb8d9ae316c07ae03667c2882a226..110d62f5d0e03b056bc79206cbc44afad40c9414 100644 (file)
@@ -1,8 +1,2 @@
-#if defined(__i386__)
-       #include "switch_i386.s"
-#elif defined(__x86_64__)
-       #include "switch_x86_64.s"
-#else
-       #error Unknown CPU
-#endif
-
+#warning This file is deprecated, use switch_ctx_emul.S
+#include "switch_ctx_emul.S"