Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e565813a authored by Akinobu Mita's avatar Akinobu Mita Committed by Ingo Molnar
Browse files

x86/mm: Remove unused DBG() macro



DBG() macro for CONFIG_DEBUG_PER_CPU_MAPS is unused.

Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
LKML-Reference: <1274706291-13554-1-git-send-email-akinobu.mita@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 67a3e12b
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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);

+0 −6
Original line number Diff line number Diff line
@@ -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
 */