vmalloc: walk vmap_areas by sorted list instead of rb_next()
[linux/fpc-iii.git] / arch / arm / mach-prima2 / common.h
blob60d826fc2185143c5d0edfdef5fd08755ead758f
1 /*
2 * This file contains common function prototypes to avoid externs in the c files.
4 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
6 * Licensed under GPLv2 or later.
7 */
9 #ifndef __MACH_PRIMA2_COMMON_H__
10 #define __MACH_PRIMA2_COMMON_H__
12 #include <linux/init.h>
13 #include <asm/mach/time.h>
15 extern struct sys_timer sirfsoc_timer;
17 extern void __init sirfsoc_of_irq_init(void);
18 extern void __init sirfsoc_of_clk_init(void);
19 extern void sirfsoc_restart(char, const char *);
21 #ifndef CONFIG_DEBUG_LL
22 static inline void sirfsoc_map_lluart(void) {}
23 #else
24 extern void __init sirfsoc_map_lluart(void);
25 #endif
27 #ifdef CONFIG_SUSPEND
28 extern int sirfsoc_pm_init(void);
29 #else
30 static inline int sirfsoc_pm_init(void) { return 0; }
31 #endif
33 #endif