kernel_optimize_test/arch
Frederik Deweerdt 42d3fb5a87 [PATCH] arm build fail: vfpsingle.c
It looks like Zach Brown's patch pr_debug-check-pr_debug-arguments
worked as inteded. That is, it doesn't "allow completely incorrect code
to build." :).

The arm build fails with the following message:
  CC      arch/arm/vfp/vfpsingle.o
  arch/arm/vfp/vfpsingle.c: In function `__vfp_single_normaliseround':
  arch/arm/vfp/vfpsingle.c:201: error: `func' undeclared (first use in
  this function)
  arch/arm/vfp/vfpsingle.c:201: error: (Each undeclared identifier is
  reported only once
  arch/arm/vfp/vfpsingle.c:201: error: for each function it appears in.)
  make[1]: *** [arch/arm/vfp/vfpsingle.o] Error 1
  make: *** [arch/arm/vfp] Error 2

The following patch fixes the issue by using func only when DEBUG is
defined.

Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Zach Brown <zach.brown@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-03 08:04:20 -07:00
..
alpha [PATCH] VFS: Make filldir_t and struct kstat deal in 64-bit inode numbers 2006-10-03 08:03:40 -07:00
arm [PATCH] arm build fail: vfpsingle.c 2006-10-03 08:04:20 -07:00
arm26 [PATCH] rename the provided execve functions to kernel_execve 2006-10-02 07:57:23 -07:00
avr32 [PATCH] AVR32: Implement kernel_execve 2006-10-02 07:57:24 -07:00
cris [PATCH] namespaces: utsname: use init_utsname when appropriate 2006-10-02 07:57:21 -07:00
frv [PATCH] FRV: Permit large kmalloc allocations [try #2] 2006-10-03 08:03:40 -07:00
h8300 [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
i386 [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
ia64 [PATCH] VFS: Make filldir_t and struct kstat deal in 64-bit inode numbers 2006-10-03 08:03:40 -07:00
m32r [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
m68k [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
m68knommu [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
mips [PATCH] VFS: Make filldir_t and struct kstat deal in 64-bit inode numbers 2006-10-03 08:03:40 -07:00
parisc [PATCH] VFS: Make filldir_t and struct kstat deal in 64-bit inode numbers 2006-10-03 08:03:40 -07:00
powerpc [PATCH] restore parport_pc probing on powermac 2006-10-03 08:03:41 -07:00
ppc [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
s390 [PATCH] VFS: Make filldir_t and struct kstat deal in 64-bit inode numbers 2006-10-03 08:03:40 -07:00
sh [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
sh64 [PATCH] sh64: remove the use of kernel syscalls 2006-10-02 07:57:23 -07:00
sparc [PATCH] VFS: Make filldir_t and struct kstat deal in 64-bit inode numbers 2006-10-03 08:03:40 -07:00
sparc64 [PATCH] VFS: Make filldir_t and struct kstat deal in 64-bit inode numbers 2006-10-03 08:03:40 -07:00
um [PATCH] Remove the use of _syscallX macros in UML 2006-10-02 07:57:23 -07:00
v850 [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
x86_64 [PATCH] VFS: Make filldir_t and struct kstat deal in 64-bit inode numbers 2006-10-03 08:03:40 -07:00
xtensa [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00