summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-29 15:33:28 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-29 15:33:28 +0000
commit44b06ca617a8d8910a308037ebad06876085a6cc (patch)
treec9bd98f2ad44ad1fbfab11b51f9b09c9d3561d0b /c/src/lib/libbsp/sparc/leon3/startup/bspstart.c
parentWhitespace removal. (diff)
downloadrtems-44b06ca617a8d8910a308037ebad06876085a6cc.tar.bz2
Whitespace removal.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/sparc/leon3/startup/bspstart.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c b/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c
index f53c1f4abc..fd44df82cf 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c
+++ b/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c
@@ -24,21 +24,21 @@
/*
* Tells us if data cache snooping is available
- */
+ */
int CPU_SPARC_HAS_SNOOPING;
/*
* set_snooping
- *
+ *
* Read the data cache configuration register to determine if
* bus snooping is available. This is needed for some drivers so
- * that they can select the most efficient copy routines.
+ * that they can select the most efficient copy routines.
*
*/
-static inline int set_snooping(void)
+static inline int set_snooping(void)
{
- int tmp;
+ int tmp;
asm(" lda [%1] 2, %0 "
: "=r"(tmp)
: "r"(0xC)