diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-09-16 21:15:45 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-16 21:54:31 +0200 |
commit | b512217736049cef3e681bbd3ff6696c1cca567d (patch) | |
tree | 41011b351a88f7fec688a9f5019378aaac2896a9 /drivers/scsi/cyberstormII.c | |
parent | [PATCH] Add symbol type files (*.symtypes) to .gitignore (diff) | |
download | linux-b512217736049cef3e681bbd3ff6696c1cca567d.tar.xz linux-b512217736049cef3e681bbd3ff6696c1cca567d.zip |
[PATCH] Fix 'make headers_check' on biarch architectures
We generate an <asm/foo.h> which includes either <asm-$ARCH/foo.h> or
<asm-$ALTARCH/foo.h> as appropriate. But we were doing this dependent on
whether the file in question existed in the _unexported_ tree, not the
exported tree. So if a file was exported to userspace in one asm- directory
but not the other, the generated file in asm/ was incorrect.
This only changed the failure mode if it _was_ included from a nice #error to
a less explicable #include failure -- but it also gave false errors in 'make
headers_check' output. Fix it by looking in the right place instead.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/cyberstormII.c')
0 files changed, 0 insertions, 0 deletions