common.h (27eb2c4b3d3e13f376a359e293c212a2e9407af5) common.h (8bd26e3a7e49af2697449bbcb7187a39dc85d672)
1/*
2 * This file contains common function prototypes to avoid externs
3 * in the c files.
4 *
5 * Copyright (C) 2011 Xilinx
6 *
7 * This software is licensed under the terms of the GNU General Public
8 * License version 2, as published by the Free Software Foundation, and

--- 13 unchanged lines hidden (view full) ---

22extern void zynq_slcr_cpu_stop(int cpu);
23extern void zynq_slcr_cpu_start(int cpu);
24
25#ifdef CONFIG_SMP
26extern void secondary_startup(void);
27extern char zynq_secondary_trampoline;
28extern char zynq_secondary_trampoline_jump;
29extern char zynq_secondary_trampoline_end;
1/*
2 * This file contains common function prototypes to avoid externs
3 * in the c files.
4 *
5 * Copyright (C) 2011 Xilinx
6 *
7 * This software is licensed under the terms of the GNU General Public
8 * License version 2, as published by the Free Software Foundation, and

--- 13 unchanged lines hidden (view full) ---

22extern void zynq_slcr_cpu_stop(int cpu);
23extern void zynq_slcr_cpu_start(int cpu);
24
25#ifdef CONFIG_SMP
26extern void secondary_startup(void);
27extern char zynq_secondary_trampoline;
28extern char zynq_secondary_trampoline_jump;
29extern char zynq_secondary_trampoline_end;
30extern int __cpuinit zynq_cpun_start(u32 address, int cpu);
30extern int zynq_cpun_start(u32 address, int cpu);
31extern struct smp_operations zynq_smp_ops __initdata;
32#endif
33
34extern void __iomem *zynq_slcr_base;
35extern void __iomem *zynq_scu_base;
36
37/* Hotplug */
38extern void zynq_platform_cpu_die(unsigned int cpu);
39
40#endif
31extern struct smp_operations zynq_smp_ops __initdata;
32#endif
33
34extern void __iomem *zynq_slcr_base;
35extern void __iomem *zynq_scu_base;
36
37/* Hotplug */
38extern void zynq_platform_cpu_die(unsigned int cpu);
39
40#endif