Re: [PATCH] kmemtrace: fix build breakage in befs

Ingo Molnar
2009-03-24T10:34:41Z

64-bit defconfig:

In file included from include/linux/slub_def.h:14,
from include/linux/slab.h:154,
from include/linux/percpu.h:6,
from include/linux/rcutree.h:37,
from include/linux/rcupdate.h:61,
from include/linux/tracepoint.h:19,
from include/linux/module.h:20,
from include/linux/crypto.h:22,
from arch/x86/kernel/asm-offsets_64.c:8,
from arch/x86/kernel/asm-offsets.c:5:
include/trace/kmemtrace.h:24: error: expected ‘)’ before ‘(’ token
include/trace/kmemtrace.h:31: error: expected ‘)’ before ‘(’ token
include/trace/kmemtrace.h:38: error: expected ‘)’ before ‘(’ token
include/trace/kmemtrace.h:46: error: expected ‘)’ before ‘(’ token
include/trace/kmemtrace.h:54: error: expected ‘)’ before ‘(’ token
include/trace/kmemtrace.h:57: error: expected ‘)’ before ‘(’ token
In file included from include/linux/slab.h:154,
from include/linux/percpu.h:6,
from include/linux/rcutree.h:37,
from include/linux/rcupdate.h:61,
from include/linux/tracepoint.h:19,
from include/linux/module.h:20,
from include/linux/crypto.h:22,
from arch/x86/kernel/asm-offsets_64.c:8,
from arch/x86/kernel/asm-offsets.c:5:
include/linux/slub_def.h: In function ‘kmalloc_large’:
include/linux/slub_def.h:236: error: implicit declaration of function ‘trace_kmalloc’
include/linux/slub_def.h: In function ‘kmalloc_node’:
include/linux/slub_def.h:296: error: implicit declaration of function ‘trace_kmalloc_node’
3.65user 0.62system 0:02.86elapsed 149%CPU (0avgtext+0avgdata 0maxresident)k