2 * rmobile apmu definition
4 * Copyright (C) 2014 Renesas Electronics Corporation
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
16 #ifndef PLATSMP_APMU_H
17 #define PLATSMP_APMU_H
19 struct rcar_apmu_config
{
20 struct resource iomem
;
24 extern void shmobile_smp_apmu_prepare_cpus(unsigned int max_cpus
,
25 struct rcar_apmu_config
*apmu_config
,
27 extern int shmobile_smp_apmu_boot_secondary(unsigned int cpu
,
28 struct task_struct
*idle
);
29 extern void shmobile_smp_apmu_cpu_die(unsigned int cpu
);
30 extern int shmobile_smp_apmu_cpu_kill(unsigned int cpu
);
32 #endif /* PLATSMP_APMU_H */