Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[MIPS] RM200: Give RM200 it's own timex.h. So we can get rid of config.h and the #ifdef crapola in the generic timex.h. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+14 -10
+1 -10
include/asm-mips/mach-generic/timex.h
··· 3 3 * License. See the file "COPYING" in the main directory of this archive 4 4 * for more details. 5 5 * 6 - * Copyright (C) 2003 by Ralf Baechle 6 + * Copyright (C) 2003, 2005 by Ralf Baechle 7 7 */ 8 8 #ifndef __ASM_MACH_GENERIC_TIMEX_H 9 9 #define __ASM_MACH_GENERIC_TIMEX_H 10 10 11 - #include <linux/config.h> 12 - 13 - /* 14 - * Last remaining user of the i8254 PIC, will be converted, too ... 15 - */ 16 - #ifdef CONFIG_SNI_RM200_PCI 17 - #define CLOCK_TICK_RATE 1193182 18 - #else 19 11 #define CLOCK_TICK_RATE 500000 20 - #endif 21 12 22 13 #endif /* __ASM_MACH_GENERIC_TIMEX_H */
+13
include/asm-mips/mach-rm200/timex.h
··· 1 + /* 2 + * This file is subject to the terms and conditions of the GNU General Public 3 + * License. See the file "COPYING" in the main directory of this archive 4 + * for more details. 5 + * 6 + * Copyright (C) 2003, 2005 by Ralf Baechle 7 + */ 8 + #ifndef __ASM_MACH_RM200_TIMEX_H 9 + #define __ASM_MACH_RM200_TIMEX_H 10 + 11 + #define CLOCK_TICK_RATE 1193182 12 + 13 + #endif /* __ASM_MACH_RM200_TIMEX_H */