diff options
author | Bo Yan <byan@nvidia.com> | 2013-09-05 14:56:49 -0700 |
---|---|---|
committer | Tom Cherry <tcherry@nvidia.com> | 2014-01-21 15:13:58 -0800 |
commit | b74e3817d3484b7e2f888f84f1e23cbce2e03241 (patch) | |
tree | c9148dec993782990fdce9d1fbf85883fe7b0055 /arch/arm/mach-tegra/pm.h | |
parent | 57f99c0654c47e03575038f55e310ae0f465ce71 (diff) |
ARM: tegra: fix build for platform with one cluster
Change-Id: I81f5645ed89973c9dcbb2be61b7443d33bf9f472
Diffstat (limited to 'arch/arm/mach-tegra/pm.h')
-rw-r--r-- | arch/arm/mach-tegra/pm.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-tegra/pm.h b/arch/arm/mach-tegra/pm.h index 683f07090bbf..258847e3490c 100644 --- a/arch/arm/mach-tegra/pm.h +++ b/arch/arm/mach-tegra/pm.h @@ -170,14 +170,6 @@ static inline void tegra_lp0_resume_mc(void) {} static inline void tegra_lp0_cpu_mode(bool enter) {} #endif -#ifdef CONFIG_TEGRA_CLUSTER_CONTROL -#define INSTRUMENT_CLUSTER_SWITCH 1 /* Should be zero for shipping code */ -#define DEBUG_CLUSTER_SWITCH 0 /* Should be zero for shipping code */ -#define PARAMETERIZE_CLUSTER_SWITCH 1 /* Should be zero for shipping code */ - -#define CLUSTER_SWITCH_TIME_AVG_SHIFT 4 -#define CLUSTER_SWITCH_AVG_SAMPLES (0x1U << CLUSTER_SWITCH_TIME_AVG_SHIFT) - enum tegra_cluster_switch_time_id { tegra_cluster_switch_time_id_start = 0, tegra_cluster_switch_time_id_prolog, @@ -187,6 +179,14 @@ enum tegra_cluster_switch_time_id { tegra_cluster_switch_time_id_max }; +#ifdef CONFIG_TEGRA_CLUSTER_CONTROL +#define INSTRUMENT_CLUSTER_SWITCH 1 /* Should be zero for shipping code */ +#define DEBUG_CLUSTER_SWITCH 0 /* Should be zero for shipping code */ +#define PARAMETERIZE_CLUSTER_SWITCH 1 /* Should be zero for shipping code */ + +#define CLUSTER_SWITCH_TIME_AVG_SHIFT 4 +#define CLUSTER_SWITCH_AVG_SAMPLES (0x1U << CLUSTER_SWITCH_TIME_AVG_SHIFT) + static inline bool is_g_cluster_present(void) { u32 fuse_sku = readl(FUSE_SKU_DIRECT_CONFIG); |