From 9787ee22a1568ff18489b3a4d3b9084d571d9986 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 1 Jul 2010 19:43:29 +0000 Subject: 2010-07-01 Joel Sherrill * rtems/asm.h, rtems/score/cpu.h: cpu.h defines were not available to assembly programs. This resulted in percpu.h (when included from assembly) not being able to detect that the MIPS does not have a dedicated software managed interrupt stack. --- cpukit/score/cpu/mips/rtems/asm.h | 1 + cpukit/score/cpu/mips/rtems/score/cpu.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/score/cpu/mips/rtems') diff --git a/cpukit/score/cpu/mips/rtems/asm.h b/cpukit/score/cpu/mips/rtems/asm.h index c20c663509..0ef10f8baa 100644 --- a/cpukit/score/cpu/mips/rtems/asm.h +++ b/cpukit/score/cpu/mips/rtems/asm.h @@ -36,6 +36,7 @@ #ifndef ASM #define ASM #endif +#include #include #include diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h index aab4d4893d..13964ab235 100644 --- a/cpukit/score/cpu/mips/rtems/score/cpu.h +++ b/cpukit/score/cpu/mips/rtems/score/cpu.h @@ -387,7 +387,7 @@ extern "C" { * a debugger such as gdb. But that is another problem. */ -#ifndef ASSEMBLY_ONLY +#ifndef ASM /* WARNING: If this structure is modified, the constants in cpu.h must be updated. */ #if (__mips == 1) || (__mips == 32) -- cgit v1.2.3