add xbox subarchitecture
Quoted 6 lines
diff -Nru
a/include/asm-i386/timex.hb/include/asm-i386/timex.hinclude/asm-i386/timex.h +0
-0@@ -15,7 +15,11 @@#ifdef CONFIG_MELAN
include/asm-i386/timex.h line 24
Quoted 10 lines
include/asm-i386/timex.h +5
-1# define CLOCK_TICK_RATE 1189200/* AMD Elan has different frequency! */ #else -# define CLOCK_TICK_RATE 1193182/* Underlying HZ */ +# ifdef CONFIG_X86_XBOX +# define CLOCK_TICK_RATE 1124998/* so has the Xbox */ +# else +# define CLOCK_TICK_RATE 1193180/* Underlying HZ */ +# endif #endif #endif
How about more simply:
#ifdef CONFIG_MELAN
# define CLOCK_TICK_RATE 1189200 /* AMD Elan has different frequency! */
+#elif defined(CONFIG_X86_XBOX)
+# define CLOCK_TICK_RATE 1124998 /* so has the Xbox */
#else
# define CLOCK_TICK_RATE 1193182 /* Underlying HZ */
#endif
Signature · 3 lines
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk