sparc: Fix forgotten kmemleak headers inclusion

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Tuesday, April 20, 2010 - 9:59 am

Gitweb:     http://git.kernel.org/linus/2e2dc1d755cc5609d0c46d47f7d171318b3bffcd
Commit:     2e2dc1d755cc5609d0c46d47f7d171318b3bffcd
Parent:     c011f80ba0912486fe51dd2b3f71d9b33a151188
Author:     Frederic Weisbecker <fweisbec@gmail.com>
AuthorDate: Tue Apr 13 14:28:24 2010 -0700
Committer:  David S. Miller <davem@davemloft.net>
CommitDate: Tue Apr 13 14:28:24 2010 -0700

    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’
    
    Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
---
 arch/sparc/kernel/irq_64.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/sparc/kernel/irq_64.c b/arch/sparc/kernel/irq_64.c
index 454ce3a..2b04c72 100644
--- a/arch/sparc/kernel/irq_64.c
+++ b/arch/sparc/kernel/irq_64.c
@@ -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>
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
sparc: Fix forgotten kmemleak headers inclusion, Linux Kernel Mailing ..., (Tue Apr 20, 9:59 am)