Title: [6571] trunk/arch/blackfin/kernel: Mike pointed out these should be u32.
Revision
6571
Author
rgetz
Date
2009-06-03 19:47:34 -0500 (Wed, 03 Jun 2009)

Log Message

Mike pointed out these should be u32.

[!no_src_qa!] - extern in C file is fine.

Modified Paths

Diff

Modified: trunk/arch/blackfin/kernel/debug-mmrs.c (6570 => 6571)


--- trunk/arch/blackfin/kernel/debug-mmrs.c	2009-06-04 00:41:13 UTC (rev 6570)
+++ trunk/arch/blackfin/kernel/debug-mmrs.c	2009-06-04 00:47:34 UTC (rev 6571)
@@ -14,7 +14,7 @@
 #define D_RO(name, bits, addr)      _D(name, bits, addr, S_IRUSR)
 #define D_WO(name, bits, addr)      _D(name, bits, addr, S_IWUSR)
 
-extern int last_seqstat;
+extern u32 last_seqstat;
 
 static inline int sport_width(void *mmr)
 {

Modified: trunk/arch/blackfin/kernel/traps.c (6570 => 6571)


--- trunk/arch/blackfin/kernel/traps.c	2009-06-04 00:41:13 UTC (rev 6570)
+++ trunk/arch/blackfin/kernel/traps.c	2009-06-04 00:47:34 UTC (rev 6571)
@@ -70,7 +70,7 @@
 #endif
 
 #ifdef CONFIG_DEBUG_MMRS
-int last_seqstat;
+u32 last_seqstat;
 #endif
 
 /* Initiate the event table handler */
@@ -251,7 +251,7 @@
 
 	trace_buffer_save(j);
 #ifdef CONFIG_DEBUG_MMRS
-	last_seqstat = fp->seqstat;
+	last_seqstat = (u32)fp->seqstat;
 #endif
 
 	/* Important - be very careful dereferncing pointers - will lead to
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to