David Woodhouse b512217736 [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>
2006-09-16 12:54:31 -07:00
..
2005-04-16 15:20:36 -07:00
2006-06-08 20:18:49 +02:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:01:00 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 23:30:54 +02:00
2005-04-16 15:20:36 -07:00
2005-07-13 23:09:16 +00:00
2006-08-01 11:32:46 +02:00
2005-04-16 15:20:36 -07:00
2005-07-14 20:18:07 +00:00
2006-01-10 00:10:13 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00