linux/arch/arm/vfp
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
..
entry.S [ARM] Move enable_irq and disable_irq to assembler.h 2006-03-23 16:59:37 +00:00
Makefile [ARM] Enable VFP to be built when non-VFP capable CPUs are selected 2006-06-22 10:24:24 +01:00
vfp.h [ARM] Cleanups for 4cc9bd2eaa 2006-09-25 10:34:59 +01:00
vfpdouble.c [ARM] Cleanups for 4cc9bd2eaa 2006-09-25 10:34:59 +01:00
vfphw.S [ARM] 3750/3: Fix double VFP emulation for EABI kernels 2006-08-30 15:06:39 +01:00
vfpinstr.h [ARM] 3759/2: Remove uses of %? 2006-09-20 14:58:35 +01:00
vfpmodule.c [ARM] Optimise VFP thread notify function a little 2006-09-20 14:58:35 +01:00
vfpsingle.c [PATCH] arm build fail: vfpsingle.c 2006-10-03 08:04:20 -07:00