powerpc/kgdb: Fix build failure caused by "kgdb.c: unused variable 'acc'"
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 1 Oct 2009 08:38:49 +0000 (08:38 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Oct 2009 05:58:38 +0000 (16:58 +1100)
commitcf50f447b22f540d738eb8ca09c3b3972a9ba0ac
treeb7d62dcf49b3a3b99dff8442b28f430b024eecf1
parentb6dcde5c74d1cbf16da37202a14fa187dce6e4c0
powerpc/kgdb: Fix build failure caused by "kgdb.c: unused variable 'acc'"

'acc' isn't used anywhere and thus triggers gcc warning, which causes
build error with CONFIG_PPC_DISABLE_WERROR=n (default):

  cc1: warnings being treated as errors
  arch/powerpc/kernel/kgdb.c: In function 'gdb_regs_to_pt_regs':
  arch/powerpc/kernel/kgdb.c:289: warning: unused variable 'acc'
  make[1]: *** [arch/powerpc/kernel/kgdb.o] Error 1

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/kgdb.c