diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-09-21 06:51:27 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-21 06:51:42 -0400 |
commit | ae82bfd61ca7e57cc2d914add9ab0873e260f2f5 (patch) | |
tree | a7f862ad8b0ae4f2e8953e6aa613eb702b484ecf /arch/sh/include/asm/watchdog.h | |
parent | cd74c86bdf705f824d494a2bbda393d1d562b40a (diff) | |
parent | ebc79c4f8da0f92efa968e0328f32334a2ce80cf (diff) |
Merge branch 'linus' into perfcounters/rename
Merge reason: pull in all the latest code before doing the rename.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/sh/include/asm/watchdog.h')
-rw-r--r-- | arch/sh/include/asm/watchdog.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/arch/sh/include/asm/watchdog.h b/arch/sh/include/asm/watchdog.h index f024fed00a72..2fe7cee9e43a 100644 --- a/arch/sh/include/asm/watchdog.h +++ b/arch/sh/include/asm/watchdog.h | |||
@@ -13,10 +13,18 @@ | |||
13 | #ifdef __KERNEL__ | 13 | #ifdef __KERNEL__ |
14 | 14 | ||
15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
16 | #include <linux/io.h> | ||
17 | |||
18 | #define WTCNT_HIGH 0x5a | ||
19 | #define WTCSR_HIGH 0xa5 | ||
20 | |||
21 | #define WTCSR_CKS2 0x04 | ||
22 | #define WTCSR_CKS1 0x02 | ||
23 | #define WTCSR_CKS0 0x01 | ||
24 | |||
16 | #include <cpu/watchdog.h> | 25 | #include <cpu/watchdog.h> |
17 | #include <asm/io.h> | ||
18 | 26 | ||
19 | /* | 27 | /* |
20 | * See cpu-sh2/watchdog.h for explanation of this stupidity.. | 28 | * See cpu-sh2/watchdog.h for explanation of this stupidity.. |
21 | */ | 29 | */ |
22 | #ifndef WTCNT_R | 30 | #ifndef WTCNT_R |
@@ -27,13 +35,6 @@ | |||
27 | # define WTCSR_R WTCSR | 35 | # define WTCSR_R WTCSR |
28 | #endif | 36 | #endif |
29 | 37 | ||
30 | #define WTCNT_HIGH 0x5a | ||
31 | #define WTCSR_HIGH 0xa5 | ||
32 | |||
33 | #define WTCSR_CKS2 0x04 | ||
34 | #define WTCSR_CKS1 0x02 | ||
35 | #define WTCSR_CKS0 0x01 | ||
36 | |||
37 | /* | 38 | /* |
38 | * CKS0-2 supports a number of clock division ratios. At the time the watchdog | 39 | * CKS0-2 supports a number of clock division ratios. At the time the watchdog |
39 | * is enabled, it defaults to a 41 usec overflow period .. we overload this to | 40 | * is enabled, it defaults to a 41 usec overflow period .. we overload this to |