mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 03:57:27 +07:00
21 lines
368 B
C
21 lines
368 B
C
|
/*
|
||
|
* Copied from linux/include/asm-arm/arch-sa1100/system.h
|
||
|
* Copyright (c) 1999 Nicolas Pitre <nico@cam.org>
|
||
|
*/
|
||
|
#ifndef __ASM_ARCH_SYSTEM_H
|
||
|
#define __ASM_ARCH_SYSTEM_H
|
||
|
#include <linux/config.h>
|
||
|
#include <asm/arch/hardware.h>
|
||
|
|
||
|
static inline void arch_idle(void)
|
||
|
{
|
||
|
cpu_do_idle();
|
||
|
}
|
||
|
|
||
|
static inline void arch_reset(char mode)
|
||
|
{
|
||
|
omap_writew(1, ARM_RSTCT1);
|
||
|
}
|
||
|
|
||
|
#endif
|