x86/mm: remove unused DBG() macro
PATCH 1/1 x86/mm: remove unused DBG() macro
DBG() macro for CONFIG_DEBUG_PER_CPU_MAPS is unused.
Signed-off-by Akinobu Mita <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
--- arch/x86/kernel/setup_percpu.c | 6 ------ arch/x86/mm/numa.c | 6 ------ 2 files changed, 0 insertions(+), 12 deletions(-)
arch/x86/kernel/setup_percpu.c +0 -6
@@ -21,12 +21,6 @@#include <asm/cpu.h> #include <asm/stackprotector.h> -#ifdef CONFIG_DEBUG_PER_CPU_MAPS -# define DBG (fmt, ...) pr_dbg(fmt, ##__VA_ARGS__) -#else -# define DBG (fmt, ...) do { if (0) pr_dbg(fmt, ##__VA_ARGS__); } while (0) -#endif -DEFINE_PER_CPU (int, cpu_number);EXPORT_PER_CPU_SYMBOL (cpu_number);
arch/x86/mm/numa.c +0 -6
@@ -3,12 +3,6 @@#include <linux/module.h> #include <linux/bootmem.h> -#ifdef CONFIG_DEBUG_PER_CPU_MAPS -# define DBG(x...) printk(KERN_DEBUG x) -#else -# define DBG(x...) -#endif -/* * Which logical CPUs are on which nodes */
Signature · 1 line
1.6.0.6
[tip:x86/urgent] x86/mm: Remove unused DBG() macro
Commit-ID: e565813ab95875af0d51a6bcd537068380bb06ea Gitweb: http://git.kernel.org/tip/e565813ab95875af0d51a6bcd537068380bb06ea Author: Akinobu Mita <[email protected]> AuthorDate: Mon, 24 May 2010 22:04:51 +0900 Committer: Ingo Molnar <[email protected]> CommitDate: Mon, 31 May 2010 10:01:53 +0200
x86/mm: Remove unused DBG() macro
DBG() macro for CONFIG_DEBUG_PER_CPU_MAPS is unused.
Signed-off-by Akinobu Mita <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/kernel/setup_percpu.c | 6 ------ arch/x86/mm/numa.c | 6 ------ 2 files changed, 0 insertions(+), 12 deletions(-)
arch/x86/kernel/setup_percpu.c +0 -6
@@ -21,12 +21,6 @@#include <asm/cpu.h> #include <asm/stackprotector.h> -#ifdef CONFIG_DEBUG_PER_CPU_MAPS -# define DBG (fmt, ...) pr_dbg(fmt, ##__VA_ARGS__) -#else -# define DBG (fmt, ...) do { if (0) pr_dbg(fmt, ##__VA_ARGS__); } while (0) -#endif -DEFINE_PER_CPU (int, cpu_number);EXPORT_PER_CPU_SYMBOL (cpu_number);
arch/x86/mm/numa.c +0 -6
@@ -3,12 +3,6 @@#include <linux/module.h> #include <linux/bootmem.h> -#ifdef CONFIG_DEBUG_PER_CPU_MAPS -# define DBG(x...) printk(KERN_DEBUG x) -#else -# define DBG(x...) -#endif -/* * Which logical CPUs are on which nodes */