aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/bfin-global.h
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-05-21 06:09:32 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-21 12:50:23 -0400
commita9c59c2746c7e773839d51027c0e16ccf41f8fef (patch)
treee5eef75538858cc0d6f70036c549b2e3cc4858fc /include/asm-blackfin/bfin-global.h
parent19381f024b01413d83cec1655c3fc4c9c09ae274 (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/asm-blackfin/bfin-global.h')
-rw-r--r--include/asm-blackfin/bfin-global.h1
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
105extern unsigned long table_start, table_end; 105extern unsigned long table_start, table_end;
106 106
107extern u16 _bfin_swrst; /* shadow for Software Reset Register (SWRST) */
107extern struct file_operations dpmc_fops; 108extern struct file_operations dpmc_fops;
108extern char _start; 109extern char _start;
109extern unsigned long _ramstart, _ramend, _rambase; 110extern unsigned long _ramstart, _ramend, _rambase;