summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc6xx
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-17 18:05:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-17 18:05:29 +0000
commitc0af822e77db2c54f322eb493305158b2516c653 (patch)
tree8babbef5961f5e02460b4f4c7e861f8ed739bd1e /c/src/lib/libcpu/powerpc/mpc6xx
parent2001-05-17 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-c0af822e77db2c54f322eb493305158b2516c653.tar.bz2
2001-05-17 Joel Sherrill <joel@OARcorp.com>
* mpc6xx/exceptions/raw_exception.c, pc6xx/mmu/pte121.c: Modified slightly to reflect recent PowerPC re-organization and avoid warnings.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc6xx')
-rw-r--r--c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c4
-rw-r--r--c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c b/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c
index d964cbbe59..8d4a18d075 100644
--- a/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c
+++ b/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c
@@ -22,7 +22,7 @@
*/
#include <rtems/system.h>
#include <rtems/score/ppc.h>
-#include <rtems/system.h>
+#include <rtems/bspIo.h>
#include <libcpu/raw_exception.h>
#include <libcpu/cpuIdent.h>
@@ -121,7 +121,7 @@ int mpc60x_vector_is_valid(rtems_vector vector)
break;
case PPC_604:
case PPC_604e:
- case PPC_604r:
+ /* case PPC_604r: -- same value as PPC_750 */
if (!mpc604_vector_is_valid(vector)) {
return 0;
}
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c
index adbd35ed23..5e7634b7cc 100644
--- a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c
+++ b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c
@@ -21,7 +21,7 @@
#ifndef DEBUG_MAIN
#include <rtems.h>
#include <rtems/bspIo.h>
-#include <libcpu/cpu.h>
+#include <libcpu/cpuIdent.h>
#include <bsp.h>
#ifdef DEBUG_EXC
#include <bsp/vectors.h>