Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
arm
mach-gemini
include
mach
system.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2001-2006 Storlink, Corp.
3
* Copyright (C) 2008-2009 Paulius Zaleckas <
[email protected]
>
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*/
10
#ifndef __MACH_SYSTEM_H
11
#define __MACH_SYSTEM_H
12
13
#include <
linux/io.h
>
14
#include <mach/hardware.h>
15
#include <
mach/global_reg.h
>
16
17
static
inline
void
arch_reset(
char
mode
,
const
char
*
cmd
)
18
{
19
__raw_writel
(
RESET_GLOBAL
|
RESET_CPU1
,
20
IO_ADDRESS
(
GEMINI_GLOBAL_BASE
) +
GLOBAL_RESET
);
21
}
22
23
#endif
/* __MACH_SYSTEM_H */
Generated on Thu Jan 10 2013 12:55:24 for Linux Kernel by
1.8.2