diff options
| author | David Howells <[email protected]> | 2011-06-11 11:29:58 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-06-11 20:17:28 +0000 |
| commit | 56a210526adb2854d5b7c398a40260720390ee05 (patch) | |
| tree | f900de2637a55b1d2b8d21e71d0a12061483ccbe /fs/proc/root.c | |
| parent | Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
| download | kernel-56a210526adb2854d5b7c398a40260720390ee05.tar.gz kernel-56a210526adb2854d5b7c398a40260720390ee05.zip | |
linux/seqlock.h should #include asm/processor.h for cpu_relax()
It uses cpu_relax(), and so needs <asm/processor.h>
Without this patch, I see:
CC arch/mn10300/kernel/asm-offsets.s
In file included from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from arch/mn10300/kernel/asm-offsets.c:7:
include/linux/seqlock.h: In function 'read_seqbegin':
include/linux/seqlock.h:91: error: implicit declaration of function 'cpu_relax'
whilst building asb2364_defconfig on MN10300.
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/root.c')
0 files changed, 0 insertions, 0 deletions
