]> err.no Git - linux-2.6/commit
[POWERPC] Fix slb.c compile warnings
authorGeoff Levand <geoffrey.levand@am.sony.com>
Wed, 30 Apr 2008 22:24:58 +0000 (08:24 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 2 May 2008 05:00:44 +0000 (15:00 +1000)
commitbbea34606269efedf7d12c608924b47bafb344f5
tree161e7cc2cd5aa03586603383ce47227532a1a648
parent5be661a28b12aa43cc83ba935ba2b2c273d0da45
[POWERPC] Fix slb.c compile warnings

Arrange for a syntax check to always be done on the powerpc/mm/slb.c
DBG() macro by defining it to pr_debug() for non-debug builds.

Also, fix these related compile warnings:

  slb.c:273: warning: format '%04x' expects type 'unsigned int', but argument 2 has type 'long unsigned int
  slb.c:274: warning: format '%04x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/slb.c