* [mmotm:master 203/499] include/linux/vmstat.h:32:2: error: implicit declaration of function 'raw_cpu_inc'
@ 2014-03-22 0:50 kbuild test robot
2014-03-22 2:12 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2014-03-22 0:50 UTC (permalink / raw)
To: Christoph Lameter
Cc: Linux Memory Management List, Andrew Morton, Johannes Weiner, kbuild-all
tree: git://git.cmpxchg.org/linux-mmotm.git master
head: 4ddd4bc6e081ef29f7adaacb357b77052fefcd7e
commit: 4ac4f1a27eed39f833aa8874515127e3bd0ff971 [203/499] vmstat: use raw_cpu_ops to avoid false positives on preemption checks
config: make ARCH=x86_64 allnoconfig
Note: the mmotm/master HEAD 4ddd4bc6e081ef29f7adaacb357b77052fefcd7e builds fine.
It only hurts bisectibility.
All error/warnings:
In file included from include/linux/mm.h:897:0,
from include/linux/suspend.h:8,
from arch/x86/kernel/asm-offsets.c:12:
include/linux/vmstat.h: In function '__count_vm_event':
>> include/linux/vmstat.h:32:2: error: implicit declaration of function 'raw_cpu_inc' [-Werror=implicit-function-declaration]
raw_cpu_inc(vm_event_states.event[item]);
^
include/linux/vmstat.h: In function '__count_vm_events':
>> include/linux/vmstat.h:42:2: error: implicit declaration of function 'raw_cpu_add' [-Werror=implicit-function-declaration]
raw_cpu_add(vm_event_states.event[item], delta);
^
cc1: some warnings being treated as errors
make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target `__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target `prepare' not remade because of errors.
make: *** [sub-make] Error 2
vim +/raw_cpu_inc +32 include/linux/vmstat.h
26 };
27
28 DECLARE_PER_CPU(struct vm_event_state, vm_event_states);
29
30 static inline void __count_vm_event(enum vm_event_item item)
31 {
> 32 raw_cpu_inc(vm_event_states.event[item]);
33 }
34
35 static inline void count_vm_event(enum vm_event_item item)
36 {
37 this_cpu_inc(vm_event_states.event[item]);
38 }
39
40 static inline void __count_vm_events(enum vm_event_item item, long delta)
41 {
> 42 raw_cpu_add(vm_event_states.event[item], delta);
43 }
44
45 static inline void count_vm_events(enum vm_event_item item, long delta)
---
0-DAY kernel build testing backend Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [mmotm:master 203/499] include/linux/vmstat.h:32:2: error: implicit declaration of function 'raw_cpu_inc'
2014-03-22 0:50 [mmotm:master 203/499] include/linux/vmstat.h:32:2: error: implicit declaration of function 'raw_cpu_inc' kbuild test robot
@ 2014-03-22 2:12 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2014-03-22 2:12 UTC (permalink / raw)
To: kbuild test robot
Cc: Christoph Lameter, Linux Memory Management List, Johannes Weiner,
kbuild-all
On Sat, 22 Mar 2014 08:50:32 +0800 kbuild test robot <fengguang.wu@intel.com> wrote:
> tree: git://git.cmpxchg.org/linux-mmotm.git master
> head: 4ddd4bc6e081ef29f7adaacb357b77052fefcd7e
> commit: 4ac4f1a27eed39f833aa8874515127e3bd0ff971 [203/499] vmstat: use raw_cpu_ops to avoid false positives on preemption checks
> config: make ARCH=x86_64 allnoconfig
>
> Note: the mmotm/master HEAD 4ddd4bc6e081ef29f7adaacb357b77052fefcd7e builds fine.
> It only hurts bisectibility.
>
> All error/warnings:
>
> In file included from include/linux/mm.h:897:0,
> from include/linux/suspend.h:8,
> from arch/x86/kernel/asm-offsets.c:12:
> include/linux/vmstat.h: In function '__count_vm_event':
> >> include/linux/vmstat.h:32:2: error: implicit declaration of function 'raw_cpu_inc' [-Werror=implicit-function-declaration]
> raw_cpu_inc(vm_event_states.event[item]);
> ^
> include/linux/vmstat.h: In function '__count_vm_events':
> >> include/linux/vmstat.h:42:2: error: implicit declaration of function 'raw_cpu_add' [-Werror=implicit-function-declaration]
> raw_cpu_add(vm_event_states.event[item], delta);
> ^
> cc1: some warnings being treated as errors
> make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
> make[2]: Target `__build' not remade because of errors.
> make[1]: *** [prepare0] Error 2
> make[1]: Target `prepare' not remade because of errors.
> make: *** [sub-make] Error 2
bah, OK, patch ordering problem. I'll shuffle them around and we'll be
stuck with a small and quite minor bisection window where the kernel
emits warnings at runtime.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-22 2:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-22 0:50 [mmotm:master 203/499] include/linux/vmstat.h:32:2: error: implicit declaration of function 'raw_cpu_inc' kbuild test robot
2014-03-22 2:12 ` Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.