summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@org.rmk.(none)>2005-03-22 09:36:50 +0000
committerRussell King <rmk@flint.arm.linux.org.uk>2005-03-22 09:36:50 +0000
commit21686c512adbe5ea69c2eb5a48f6609942086438 (patch)
tree428c3d62b7db4b16094cca27468f292362e36c4f /net/unix/af_unix.c
parent1ee21026660bf0febed3996100bf7ab300742cb2 (diff)
[ARM PATCH] 2575/1: pass -mbig-endian/-mlittle-endian to invocations of cpp
Patch from Lennert Buytenhek We currently pass -mbig-endian/-mlittle-endian to the compiler and the assembler, but we do not pass it to cpp, even though it also needs it. So, add this flag to CPPFLAGS, and since CPPFLAGS is also passed to the compiler and the assembler, we can then then remove the flag from CFLAGS and AFLAGS. The symptom of this problem is the kernel hanging after "Memory: ......KB available (....K code, ...K data, ...K init)" when compiling a big-endian kernel with a little-endian toolchain or vice versa, and this happens because 'jiffies' points to the wrong half of 'jiffies_64' (due to vmlinux.lds having been generated with the wrong preprocessor flags), so calibrate_delay() takes forever to complete. Derived from an earlier patch by Krzysztof Halasa. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions