diff options
author | Scott Williams <scwilliams@nvidia.com> | 2011-12-07 12:29:15 -0800 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2011-12-15 11:52:57 +0530 |
commit | 8427c1565f3f2243b51f568d947f5d8aa2e3e56d (patch) | |
tree | 39216ee5372bb175b0775c36f157ce11543e9ed7 /arch/arm/mach-tegra/reset.h | |
parent | cd0a6d2a73b1e1360385a957a486203d132ad31c (diff) |
arm: tegra: Fix build break when PM_SLEEP is not selected
Fix the build break when PM_SLEEP is not select that was
introduced by the restructuring of the reset handler code
for Trusted Foundations support.
Change-Id: I039d84f9244be52dd0a6a3b50d78d7189acb2ea8
Reviewed-on: http://git-master/r/68753
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Chris Johnson <cwj@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/reset.h')
-rw-r--r-- | arch/arm/mach-tegra/reset.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/reset.h b/arch/arm/mach-tegra/reset.h index 2af17c3fee8f..44a671160e57 100644 --- a/arch/arm/mach-tegra/reset.h +++ b/arch/arm/mach-tegra/reset.h @@ -47,6 +47,11 @@ void tegra_secondary_startup(void); ((u32)__tegra_cpu_reset_handler_data - \ (u32)__tegra_cpu_reset_handler_start)))) +#define tegra_cpu_lp2_mask ((cpumask_t *)(IO_ADDRESS(TEGRA_RESET_HANDLER_BASE + \ + ((u32)&__tegra_cpu_reset_handler_data[TEGRA_RESET_MASK_LP2] - \ + (u32)__tegra_cpu_reset_handler_start)))) +#endif + #define tegra_cpu_reset_handler_offset \ ((u32)__tegra_cpu_reset_handler - \ (u32)__tegra_cpu_reset_handler_start) @@ -55,11 +60,6 @@ void tegra_secondary_startup(void); (__tegra_cpu_reset_handler_end - \ __tegra_cpu_reset_handler_start) -#define tegra_cpu_lp2_mask ((cpumask_t *)(IO_ADDRESS(TEGRA_RESET_HANDLER_BASE + \ - ((u32)&__tegra_cpu_reset_handler_data[TEGRA_RESET_MASK_LP2] - \ - (u32)__tegra_cpu_reset_handler_start)))) -#endif - void __init tegra_cpu_reset_handler_init(void); #ifdef CONFIG_PM_SLEEP |