1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * This file is subject to the terms and conditions of the GNU General Public 3*4882a593Smuzhiyun * License. See the file "COPYING" in the main directory of this archive 4*4882a593Smuzhiyun * for more details. 5*4882a593Smuzhiyun * 6*4882a593Smuzhiyun * Copyright (C) 2008 by Ralf Baechle (ralf@linux-mips.org) 7*4882a593Smuzhiyun */ 8*4882a593Smuzhiyun #ifndef __ASM_R4K_TIMER_H 9*4882a593Smuzhiyun #define __ASM_R4K_TIMER_H 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun #include <linux/compiler.h> 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun #ifdef CONFIG_SYNC_R4K 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun extern void synchronise_count_master(int cpu); 16*4882a593Smuzhiyun extern void synchronise_count_slave(int cpu); 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun #else 19*4882a593Smuzhiyun synchronise_count_master(int cpu)20*4882a593Smuzhiyunstatic inline void synchronise_count_master(int cpu) 21*4882a593Smuzhiyun { 22*4882a593Smuzhiyun } 23*4882a593Smuzhiyun synchronise_count_slave(int cpu)24*4882a593Smuzhiyunstatic inline void synchronise_count_slave(int cpu) 25*4882a593Smuzhiyun { 26*4882a593Smuzhiyun } 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun #endif 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun #endif /* __ASM_R4K_TIMER_H */ 31