Title: [6619] trunk/arch/blackfin/kernel/traps.c: Apply fix from Enrik Berkhan <[email protected]>
- Revision
- 6619
- Author
- rgetz
- Date
- 2009-06-09 11:36:01 -0500 (Tue, 09 Jun 2009)
Log Message
Apply fix from Enrik Berkhan <[email protected]>
If "Generate Blackfin MMR tree" is built as module on Blackfin,
last_seqstat must be defined (and exported), too.
Signed-off-by: Enrik Berkhan <[email protected]>
Acked-by: Robin Getz <[email protected]>
---
arch/blackfin/kernel/traps.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
[!no_src_qa!] - checkpatch doesn't like ifdef between EXPORT and define
Modified Paths
Diff
Modified: trunk/arch/blackfin/kernel/traps.c (6618 => 6619)
--- trunk/arch/blackfin/kernel/traps.c 2009-06-09 10:37:18 UTC (rev 6618)
+++ trunk/arch/blackfin/kernel/traps.c 2009-06-09 16:36:01 UTC (rev 6619)
@@ -68,9 +68,12 @@
({ if (0) printk(fmt, ##arg); 0; })
#endif
-#ifdef CONFIG_DEBUG_MMRS
+#if defined(CONFIG_DEBUG_MMRS) || defined(CONFIG_DEBUG_MMRS_MODULE)
u32 last_seqstat;
+#ifdef CONFIG_DEBUG_MMRS_MODULE
+EXPORT_SYMBOL(last_seqstat);
#endif
+#endif
/* Initiate the event table handler */
void __init trap_init(void)
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits