common.h (e98bdb3059cbf2b1cd4261e126b08429f64466c3) common.h (351b7c490700747d1dba1b0a10fbfe3448d11c35)
1/*
2 * Header for code common to all OMAP2+ machines.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *

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

265
266extern const struct smp_operations omap4_smp_ops;
267#endif
268
269#if defined(CONFIG_SMP) && defined(CONFIG_PM)
270extern int omap4_mpuss_init(void);
271extern int omap4_enter_lowpower(unsigned int cpu, unsigned int power_state);
272extern int omap4_hotplug_cpu(unsigned int cpu, unsigned int power_state);
1/*
2 * Header for code common to all OMAP2+ machines.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *

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

265
266extern const struct smp_operations omap4_smp_ops;
267#endif
268
269#if defined(CONFIG_SMP) && defined(CONFIG_PM)
270extern int omap4_mpuss_init(void);
271extern int omap4_enter_lowpower(unsigned int cpu, unsigned int power_state);
272extern int omap4_hotplug_cpu(unsigned int cpu, unsigned int power_state);
273extern u32 omap4_get_cpu1_ns_pa_addr(void);
273#else
274static inline int omap4_enter_lowpower(unsigned int cpu,
275 unsigned int power_state)
276{
277 cpu_do_idle();
278 return 0;
279}
280

--- 68 unchanged lines hidden ---
274#else
275static inline int omap4_enter_lowpower(unsigned int cpu,
276 unsigned int power_state)
277{
278 cpu_do_idle();
279 return 0;
280}
281

--- 68 unchanged lines hidden ---