2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>

* ppc403/clock/clock.c (ClockOn): Define pvr only for "ifndef ppc405".
This commit is contained in:
Ralf Corsepius
2011-10-07 09:58:39 +00:00
parent 7eb31ec936
commit 968ff5bbd3
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* ppc403/clock/clock.c (ClockOn): Define pvr only for "ifndef ppc405".
* ppc403/clock/clock.c (Install_clock): Remove unused var "pvr".
* new-exceptions/bspsupport/ppc_exc_prologue.c
(ppc_exc_create_branch_op): Comment out unused var "BRANCH_OP_LINK".

View File

@@ -184,7 +184,7 @@ void ClockOn(
{
uint32_t iocr;
register uint32_t tcr;
#ifdef ppc403
#ifndef ppc405
uint32_t pvr;
#endif /* ppc403 */