Skip to content

Commit

Permalink
RealView: Remove duplicated #define REALVIEW_SYS_FLAGS* statements
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Colin Tuckley authored and Catalin Marinas committed Nov 5, 2009
1 parent 5b39d15 commit 157aed7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions arch/arm/mach-realview/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,8 @@ static void __init poke_milo(void)
* register. The BootMonitor waits for this register to become
* non-zero.
*/
#define REALVIEW_SYS_FLAGSS_OFFSET 0x30
#define REALVIEW_SYS_FLAGSC_OFFSET 0x34
__raw_writel(BSYM(virt_to_phys(realview_secondary_startup)),
__io_address(REALVIEW_SYS_BASE) +
REALVIEW_SYS_FLAGSS_OFFSET);
__io_address(REALVIEW_SYS_FLAGSSET));

mb();
}
Expand Down

0 comments on commit 157aed7

Please sign in to comment.