Skip to content

Commit

Permalink
[MIPS] RM200: Give RM200 it's own timex.h.
Browse files Browse the repository at this point in the history
    
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>
  • Loading branch information
Ralf Baechle committed Feb 14, 2006
1 parent 5552c28 commit f32ec77
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
11 changes: 1 addition & 10 deletions include/asm-mips/mach-generic/timex.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,11 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2003 by Ralf Baechle
* Copyright (C) 2003, 2005 by Ralf Baechle
*/
#ifndef __ASM_MACH_GENERIC_TIMEX_H
#define __ASM_MACH_GENERIC_TIMEX_H

#include <linux/config.h>

/*
* Last remaining user of the i8254 PIC, will be converted, too ...
*/
#ifdef CONFIG_SNI_RM200_PCI
#define CLOCK_TICK_RATE 1193182
#else
#define CLOCK_TICK_RATE 500000
#endif

#endif /* __ASM_MACH_GENERIC_TIMEX_H */
13 changes: 13 additions & 0 deletions include/asm-mips/mach-rm200/timex.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2003, 2005 by Ralf Baechle
*/
#ifndef __ASM_MACH_RM200_TIMEX_H
#define __ASM_MACH_RM200_TIMEX_H

#define CLOCK_TICK_RATE 1193182

#endif /* __ASM_MACH_RM200_TIMEX_H */

0 comments on commit f32ec77

Please sign in to comment.