blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / arm / mach-shmobile / platsmp-apmu.h
blob76512c9a2545da754186ce6a414657e8f2db8e9d
1 /*
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;
21 int cpus[4];
24 extern void shmobile_smp_apmu_prepare_cpus(unsigned int max_cpus,
25 struct rcar_apmu_config *apmu_config,
26 int num);
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 */