18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 38c2ecf20Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 48c2ecf20Sopenharmony_ci * for more details. 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * Copyright (C) 2008 by Ralf Baechle (ralf@linux-mips.org) 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci#ifndef __ASM_R4K_TIMER_H 98c2ecf20Sopenharmony_ci#define __ASM_R4K_TIMER_H 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#include <linux/compiler.h> 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#ifdef CONFIG_SYNC_R4K 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciextern void synchronise_count_master(int cpu); 168c2ecf20Sopenharmony_ciextern void synchronise_count_slave(int cpu); 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci#else 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_cistatic inline void synchronise_count_master(int cpu) 218c2ecf20Sopenharmony_ci{ 228c2ecf20Sopenharmony_ci} 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_cistatic inline void synchronise_count_slave(int cpu) 258c2ecf20Sopenharmony_ci{ 268c2ecf20Sopenharmony_ci} 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci#endif 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci#endif /* __ASM_R4K_TIMER_H */ 31