linux/arch/arm/mach-shmobile/platsmp-apmu.h
<<
>>
Prefs
   1/*
   2 * rmobile apmu definition
   3 *
   4 * Copyright (C) 2014  Renesas Electronics Corporation
   5 *
   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.
   9 *
  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.
  14 */
  15
  16#ifndef PLATSMP_APMU_H
  17#define PLATSMP_APMU_H
  18
  19struct rcar_apmu_config {
  20        struct resource iomem;
  21        int cpus[4];
  22};
  23
  24extern void shmobile_smp_apmu_prepare_cpus(unsigned int max_cpus,
  25                                           struct rcar_apmu_config *apmu_config,
  26                                           int num);
  27extern int shmobile_smp_apmu_boot_secondary(unsigned int cpu,
  28                                            struct task_struct *idle);
  29extern void shmobile_smp_apmu_cpu_die(unsigned int cpu);
  30extern int shmobile_smp_apmu_cpu_kill(unsigned int cpu);
  31
  32#endif /* PLATSMP_APMU_H */
  33