Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * This file is subject to the terms and conditions of the GNU General Public
0003  * License.  See the file "COPYING" in the main directory of this archive
0004  * for more details.
0005  *
0006  * Copyright (C) 2008 by Ralf Baechle (ralf@linux-mips.org)
0007  */
0008 #ifndef __ASM_R4K_TIMER_H
0009 #define __ASM_R4K_TIMER_H
0010 
0011 #include <linux/compiler.h>
0012 
0013 #ifdef CONFIG_SYNC_R4K
0014 
0015 extern void synchronise_count_master(int cpu);
0016 extern void synchronise_count_slave(int cpu);
0017 
0018 #else
0019 
0020 static inline void synchronise_count_master(int cpu)
0021 {
0022 }
0023 
0024 static inline void synchronise_count_slave(int cpu)
0025 {
0026 }
0027 
0028 #endif
0029 
0030 #endif /* __ASM_R4K_TIMER_H */