17 #ifndef __MACH_TEGRA_SLEEP_H
18 #define __MACH_TEGRA_SLEEP_H
22 #define TEGRA_ARM_PERIF_VIRT (TEGRA_ARM_PERIF_BASE - IO_CPU_PHYS \
24 #define TEGRA_FLOW_CTRL_VIRT (TEGRA_FLOW_CTRL_BASE - IO_PPSB_PHYS \
26 #define TEGRA_CLK_RESET_VIRT (TEGRA_CLK_RESET_BASE - IO_PPSB_PHYS \
31 .macro cpu_to_halt_reg
rd, rcpu
40 .macro cpu_to_csr_reg
rd, rcpu
50 mrc p15, 0, \rd, c0, c0, 5
61 .macro exit_smp,
tmp1, tmp2
62 mrc p15, 0, \tmp1, c1, c0, 1 @
ACTLR
64 mcr p15, 0, \tmp1, c1, c0, 1 @
ACTLR
69 mov \tmp2, \tmp2, lsl \tmp1
71 str \tmp2, [\tmp1] @ invalidate SCU
tags for CPU
76 #ifdef CONFIG_HOTPLUG_CPU
77 void tegra20_hotplug_init(
void);
78 void tegra30_hotplug_init(
void);
80 static inline void tegra20_hotplug_init(
void) {}
81 static inline void tegra30_hotplug_init(
void) {}