Skip to contentSkip to conversation

sparc: Fix forgotten kmemleak headers inclusion

PATCH Applied Frederic Weisbecker 2 participants 2 messages Apr 13, 2010 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc: Fix forgotten kmemleak headers inclusion

Fix forgotten kmemleak headers inclusion for kmemleak_not_leak() declaration.

This fixes the following build error:

arch/sparc/kernel/irq_64.c: In function ‘sun4v_build_virq’:
arch/sparc/kernel/irq_64.c:657: error: implicit declaration of function ‘kmemleak_not_leak’

---
 arch/sparc/kernel/irq_64.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/sparc/kernel/irq_64.c +1 -0
index 454ce3a..2b04c72 100644
@@ -22,6 +22,7 @@
 #include <linux/seq_file.h>
 #include <linux/ftrace.h>
 #include <linux/irq.h>
+#include <linux/kmemleak.h>
 
 #include <asm/ptrace.h>
 #include <asm/processor.h>
Signature · 1 line
1.6.2.3
maintainer Applied
#1 lore raw

From: Frederic Weisbecker <[email protected]>
Date: Tue, 13 Apr 2010 20:59:24 +0200

Quoted 9 lines

Fix forgotten kmemleak headers inclusion for kmemleak_not_leak() declaration.

This fixes the following build error:

arch/sparc/kernel/irq_64.c: In function ¡sun4v_build_virq¢:
arch/sparc/kernel/irq_64.c:657: error: implicit declaration of function ¡kmemleak_not_leak¢

Strange, all my build tests passed :-) I must be getting the header implicitly somehow.

Applied, thanks Frederic!
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ¥Šwÿº{.nÇ+‰·¬¥ªÜ–)îÇø§¶›¡Ü¨}©�²Æ zÚ&j:+v‰¨şø¯ù®w¥şŠà2ŠŞ™¨è­Ú&¢)ß¡«a¶Úÿÿûàz¿äz¹Ş—ú+ƒùš�Šİ¢jÿŠwèşf