Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[linux-2.6-block.git] / arch / arm / mach-prima2 / common.h
CommitLineData
02c981c0
BD
1/*
2 * This file contains common function prototypes to avoid externs in the c files.
3 *
4 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
5 *
6 * Licensed under GPLv2 or later.
7 */
8
9#ifndef __MACH_PRIMA2_COMMON_H__
10#define __MACH_PRIMA2_COMMON_H__
11
12#include <linux/init.h>
7b6d864b
RH
13#include <linux/reboot.h>
14
02c981c0 15#include <asm/mach/time.h>
f2a94192 16#include <asm/exception.h>
02c981c0 17
6213f70e
RK
18extern volatile int prima2_pen_release;
19
75305275 20extern const struct smp_operations sirfsoc_smp_ops;
4898de3d
BS
21extern void sirfsoc_secondary_startup(void);
22extern void sirfsoc_cpu_die(unsigned int cpu);
02c981c0
BD
23
24extern void __init sirfsoc_of_irq_init(void);
f2a94192 25extern asmlinkage void __exception_irq_entry sirfsoc_handle_irq(struct pt_regs *regs);
02c981c0 26
a4b4674e
SG
27#ifdef CONFIG_SUSPEND
28extern int sirfsoc_pm_init(void);
29#else
30static inline int sirfsoc_pm_init(void) { return 0; }
31#endif
32
02c981c0 33#endif