diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-05-21 06:09:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-21 12:50:23 -0400 |
commit | a9c59c2746c7e773839d51027c0e16ccf41f8fef (patch) | |
tree | e5eef75538858cc0d6f70036c549b2e3cc4858fc /include | |
parent | 19381f024b01413d83cec1655c3fc4c9c09ae274 (diff) |
Blackfin arch: cache SWRST value at bootup so other things like watchdog can non-destructively query it
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-blackfin/bfin-global.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-blackfin/bfin-global.h b/include/asm-blackfin/bfin-global.h index e37f81609fc3..57f37ccdcdf1 100644 --- a/include/asm-blackfin/bfin-global.h +++ b/include/asm-blackfin/bfin-global.h | |||
@@ -104,6 +104,7 @@ extern unsigned long dpdt_swapcount_table[]; | |||
104 | 104 | ||
105 | extern unsigned long table_start, table_end; | 105 | extern unsigned long table_start, table_end; |
106 | 106 | ||
107 | extern u16 _bfin_swrst; /* shadow for Software Reset Register (SWRST) */ | ||
107 | extern struct file_operations dpmc_fops; | 108 | extern struct file_operations dpmc_fops; |
108 | extern char _start; | 109 | extern char _start; |
109 | extern unsigned long _ramstart, _ramend, _rambase; | 110 | extern unsigned long _ramstart, _ramend, _rambase; |