Files
linux/arch/arm/mach-gemini/include/mach/system.h
T
Nicolas Pitre a570067df9 ARM: big removal of now unused arch_idle()
When this is the only content remaining in mach/system.h then the
whole file is removed.

Signed-off-by: Nicolas Pitre <[email protected]>
Acked-by: H Hartley Sweeten <[email protected]>
Acked-and-tested-by: Jamie Iles <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Acked-by: David Brown <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Acked-by: Linus Walleij <[email protected]>
2012-01-20 19:25:58 -05:00

24 lines
699 B
C

/*
* Copyright (C) 2001-2006 Storlink, Corp.
* Copyright (C) 2008-2009 Paulius Zaleckas <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#ifndef __MACH_SYSTEM_H
#define __MACH_SYSTEM_H
#include <linux/io.h>
#include <mach/hardware.h>
#include <mach/global_reg.h>
static inline void arch_reset(char mode, const char *cmd)
{
__raw_writel(RESET_GLOBAL | RESET_CPU1,
IO_ADDRESS(GEMINI_GLOBAL_BASE) + GLOBAL_RESET);
}
#endif /* __MACH_SYSTEM_H */