mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
26 lines
538 B
C
26 lines
538 B
C
|
/*
|
||
|
* Copyright (C) 2009 ST-Ericsson.
|
||
|
*
|
||
|
* This file is licensed under the terms of the GNU General Public
|
||
|
* License version 2. This program is licensed "as is" without any
|
||
|
* warranty of any kind, whether express or implied.
|
||
|
*/
|
||
|
#ifndef __ASM_ARCH_SYSTEM_H
|
||
|
#define __ASM_ARCH_SYSTEM_H
|
||
|
|
||
|
static inline void arch_idle(void)
|
||
|
{
|
||
|
/*
|
||
|
* This should do all the clock switching
|
||
|
* and wait for interrupt tricks
|
||
|
*/
|
||
|
cpu_do_idle();
|
||
|
}
|
||
|
|
||
|
static inline void arch_reset(char mode, const char *cmd)
|
||
|
{
|
||
|
/* yet to be implemented - TODO */
|
||
|
}
|
||
|
|
||
|
#endif
|