diff options
| author | Colin Tuckley <colin.tuckley@arm.com> | 2009-11-04 07:19:05 -0500 |
|---|---|---|
| committer | Catalin Marinas <catalin.marinas@arm.com> | 2009-11-05 05:10:36 -0500 |
| commit | 157aed7473d300587e89cc87e13f194e3fa6fa36 (patch) | |
| tree | 5dffcc81055c40832bf7351279dc6f0fd2a86d21 | |
| parent | 5b39d1548dc2751f8de89e6f429b6560a137eebb (diff) | |
RealView: Remove duplicated #define REALVIEW_SYS_FLAGS* statements
The platsmp.c file defines the REALVIEW_SYS_FLAGS* macros which are
already present in platform.h. Just use the latter.
Signed-off-by: Colin Tuckley <colin.tuckley@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
| -rw-r--r-- | arch/arm/mach-realview/platsmp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-realview/platsmp.c b/arch/arm/mach-realview/platsmp.c index a88458b4799d..009265818d55 100644 --- a/arch/arm/mach-realview/platsmp.c +++ b/arch/arm/mach-realview/platsmp.c | |||
| @@ -146,11 +146,8 @@ static void __init poke_milo(void) | |||
| 146 | * register. The BootMonitor waits for this register to become | 146 | * register. The BootMonitor waits for this register to become |
| 147 | * non-zero. | 147 | * non-zero. |
| 148 | */ | 148 | */ |
| 149 | #define REALVIEW_SYS_FLAGSS_OFFSET 0x30 | ||
| 150 | #define REALVIEW_SYS_FLAGSC_OFFSET 0x34 | ||
| 151 | __raw_writel(BSYM(virt_to_phys(realview_secondary_startup)), | 149 | __raw_writel(BSYM(virt_to_phys(realview_secondary_startup)), |
| 152 | __io_address(REALVIEW_SYS_BASE) + | 150 | __io_address(REALVIEW_SYS_FLAGSSET)); |
| 153 | REALVIEW_SYS_FLAGSS_OFFSET); | ||
| 154 | 151 | ||
| 155 | mb(); | 152 | mb(); |
| 156 | } | 153 | } |
