1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * This file contains common function prototypes to avoid externs in the c files.
5 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
8 #ifndef __MACH_PRIMA2_COMMON_H__
9 #define __MACH_PRIMA2_COMMON_H__
11 #include <linux/init.h>
12 #include <linux/reboot.h>
14 #include <asm/mach/time.h>
15 #include <asm/exception.h>
17 extern volatile int prima2_pen_release
;
19 extern const struct smp_operations sirfsoc_smp_ops
;
20 extern void sirfsoc_secondary_startup(void);
21 extern void sirfsoc_cpu_die(unsigned int cpu
);
23 extern void __init
sirfsoc_of_irq_init(void);
24 extern asmlinkage
void __exception_irq_entry
sirfsoc_handle_irq(struct pt_regs
*regs
);
27 extern int sirfsoc_pm_init(void);
29 static inline int sirfsoc_pm_init(void) { return 0; }