diff options
Diffstat (limited to 'arch/arm/include')
| -rw-r--r-- | arch/arm/include/asm/hardware/cache-l2x0.h | 2 | ||||
| -rw-r--r-- | arch/arm/include/asm/pmu.h | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/include/asm/hardware/cache-l2x0.h b/arch/arm/include/asm/hardware/cache-l2x0.h index 16bd48031583..bfa706ffd968 100644 --- a/arch/arm/include/asm/hardware/cache-l2x0.h +++ b/arch/arm/include/asm/hardware/cache-l2x0.h | |||
| @@ -64,7 +64,7 @@ | |||
| 64 | #define L2X0_AUX_CTRL_MASK 0xc0000fff | 64 | #define L2X0_AUX_CTRL_MASK 0xc0000fff |
| 65 | #define L2X0_AUX_CTRL_ASSOCIATIVITY_SHIFT 16 | 65 | #define L2X0_AUX_CTRL_ASSOCIATIVITY_SHIFT 16 |
| 66 | #define L2X0_AUX_CTRL_WAY_SIZE_SHIFT 17 | 66 | #define L2X0_AUX_CTRL_WAY_SIZE_SHIFT 17 |
| 67 | #define L2X0_AUX_CTRL_WAY_SIZE_MASK (0x3 << 17) | 67 | #define L2X0_AUX_CTRL_WAY_SIZE_MASK (0x7 << 17) |
| 68 | #define L2X0_AUX_CTRL_SHARE_OVERRIDE_SHIFT 22 | 68 | #define L2X0_AUX_CTRL_SHARE_OVERRIDE_SHIFT 22 |
| 69 | #define L2X0_AUX_CTRL_NS_LOCKDOWN_SHIFT 26 | 69 | #define L2X0_AUX_CTRL_NS_LOCKDOWN_SHIFT 26 |
| 70 | #define L2X0_AUX_CTRL_NS_INT_CTRL_SHIFT 27 | 70 | #define L2X0_AUX_CTRL_NS_INT_CTRL_SHIFT 27 |
diff --git a/arch/arm/include/asm/pmu.h b/arch/arm/include/asm/pmu.h index 67c70a31a1be..b7e82c4aced6 100644 --- a/arch/arm/include/asm/pmu.h +++ b/arch/arm/include/asm/pmu.h | |||
| @@ -41,7 +41,7 @@ struct arm_pmu_platdata { | |||
| 41 | * encoded error on failure. | 41 | * encoded error on failure. |
| 42 | */ | 42 | */ |
| 43 | extern struct platform_device * | 43 | extern struct platform_device * |
| 44 | reserve_pmu(enum arm_pmu_type device); | 44 | reserve_pmu(enum arm_pmu_type type); |
| 45 | 45 | ||
| 46 | /** | 46 | /** |
| 47 | * release_pmu() - Relinquish control of the performance counters | 47 | * release_pmu() - Relinquish control of the performance counters |
| @@ -62,26 +62,26 @@ release_pmu(enum arm_pmu_type type); | |||
| 62 | * the actual hardware initialisation. | 62 | * the actual hardware initialisation. |
| 63 | */ | 63 | */ |
| 64 | extern int | 64 | extern int |
| 65 | init_pmu(enum arm_pmu_type device); | 65 | init_pmu(enum arm_pmu_type type); |
| 66 | 66 | ||
| 67 | #else /* CONFIG_CPU_HAS_PMU */ | 67 | #else /* CONFIG_CPU_HAS_PMU */ |
| 68 | 68 | ||
| 69 | #include <linux/err.h> | 69 | #include <linux/err.h> |
| 70 | 70 | ||
| 71 | static inline struct platform_device * | 71 | static inline struct platform_device * |
| 72 | reserve_pmu(enum arm_pmu_type device) | 72 | reserve_pmu(enum arm_pmu_type type) |
| 73 | { | 73 | { |
| 74 | return ERR_PTR(-ENODEV); | 74 | return ERR_PTR(-ENODEV); |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | static inline int | 77 | static inline int |
| 78 | release_pmu(struct platform_device *pdev) | 78 | release_pmu(enum arm_pmu_type type) |
| 79 | { | 79 | { |
| 80 | return -ENODEV; | 80 | return -ENODEV; |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | static inline int | 83 | static inline int |
| 84 | init_pmu(enum arm_pmu_type device) | 84 | init_pmu(enum arm_pmu_type type) |
| 85 | { | 85 | { |
| 86 | return -ENODEV; | 86 | return -ENODEV; |
| 87 | } | 87 | } |
