Ralf Baechle | 39b8d52 | 2008-04-28 17:14:26 +0100 | [diff] [blame] | 1 | /* |
| 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 | */ |
| 8 | #ifndef __ASM_R4K_TYPES_H |
| 9 | #define __ASM_R4K_TYPES_H |
| 10 | |
| 11 | #include <linux/compiler.h> |
| 12 | |
| 13 | #ifdef CONFIG_SYNC_R4K |
| 14 | |
Jayachandran C | cf9bfe5 | 2012-08-14 18:56:13 +0530 | [diff] [blame] | 15 | extern void synchronise_count_master(int cpu); |
| 16 | extern void synchronise_count_slave(int cpu); |
Ralf Baechle | 39b8d52 | 2008-04-28 17:14:26 +0100 | [diff] [blame] | 17 | |
| 18 | #else |
| 19 | |
Jayachandran C | cf9bfe5 | 2012-08-14 18:56:13 +0530 | [diff] [blame] | 20 | static inline void synchronise_count_master(int cpu) |
Ralf Baechle | 39b8d52 | 2008-04-28 17:14:26 +0100 | [diff] [blame] | 21 | { |
| 22 | } |
| 23 | |
Jayachandran C | cf9bfe5 | 2012-08-14 18:56:13 +0530 | [diff] [blame] | 24 | static inline void synchronise_count_slave(int cpu) |
Ralf Baechle | 39b8d52 | 2008-04-28 17:14:26 +0100 | [diff] [blame] | 25 | { |
| 26 | } |
| 27 | |
| 28 | #endif |
| 29 | |
| 30 | #endif /* __ASM_R4K_TYPES_H */ |