blob: 6e7361629348a49acdabe2dd8e1b13ce967ab827 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/*
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) 2008 by Ralf Baechle (ralf@linux-mips.org)
7 */
Olivier Deprez157378f2022-04-04 15:47:50 +02008#ifndef __ASM_R4K_TIMER_H
9#define __ASM_R4K_TIMER_H
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000010
11#include <linux/compiler.h>
12
13#ifdef CONFIG_SYNC_R4K
14
15extern void synchronise_count_master(int cpu);
16extern void synchronise_count_slave(int cpu);
17
18#else
19
20static inline void synchronise_count_master(int cpu)
21{
22}
23
24static inline void synchronise_count_slave(int cpu)
25{
26}
27
28#endif
29
Olivier Deprez157378f2022-04-04 15:47:50 +020030#endif /* __ASM_R4K_TIMER_H */