2004-11-19 Ralf Corsepius <ralf_corsepius@rtems.org>

* shared/cache/cache.c, shared/cache/cache_.h:
	Use (defined(__mc68020__) && !defined(__mcpu32__))
	instead of defined(__mc68020__) to reflect GCC-3.4's expectations.
This commit is contained in:
Ralf Corsepius
2004-11-19 04:42:34 +00:00
parent ff6042488e
commit 0ee9cc185e
3 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2004-11-19 Ralf Corsepius <ralf_corsepius@rtems.org>
* shared/cache/cache.c, shared/cache/cache_.h:
Use (defined(__mc68020__) && !defined(__mcpu32__))
instead of defined(__mc68020__) to reflect GCC-3.4's expectations.
2004-10-19 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Remove RTEMS_ENABLE_BARE.

View File

@@ -46,7 +46,7 @@
* management routines. If a given function has no meaning for the CPU,
* it does nothing by default.
*/
#if ( defined(__mc68020__) || defined(__mc68030__) )
#if ( (defined(__mc68020__) && !defined(__mcpu32__)) || defined(__mc68030__) )
#if defined(__mc68030__)

View File

@@ -5,7 +5,7 @@
#ifndef __M68K_CACHE_h
#define __M68K_CACHE_h
#if defined(__mc68020__)
#if (defined(__mc68020__) && !defined(__mcpu32__))
#define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
#elif defined(__mc68030__)
#define M68K_INSTRUCTION_CACHE_ALIGNMENT 16