[PATCH 2/2] guards added to ignore headers, if paravirt is not used
Philipp Eppelt
philipp.eppelt at mailbox.tu-dresden.de
Wed Nov 27 23:00:48 UTC 2013
---
cpukit/score/cpu/i386/rtems/score/virtualizationlayercpu.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/cpukit/score/cpu/i386/rtems/score/virtualizationlayercpu.h b/cpukit/score/cpu/i386/rtems/score/virtualizationlayercpu.h
index ce269fa..891e9b3 100644
--- a/cpukit/score/cpu/i386/rtems/score/virtualizationlayercpu.h
+++ b/cpukit/score/cpu/i386/rtems/score/virtualizationlayercpu.h
@@ -7,6 +7,7 @@
* Licencse: see RTEMS License.
*/
+#if defined(RTEMS_PARAVIRT)
#ifndef RTEMS_VIRT_LAYER_CPU_H
#define RTEMS_VIRT_LAYER_CPU_H
@@ -83,3 +84,5 @@ _CPU_Virtual_exec_stop_error( int _error );
#endif /* ASM */
#endif /* RTEMS_VIRT_LAYER_CPU_H */
+
+#endif /*RTEMS_PARAVIRT*/
--
1.8.1.4
More information about the devel
mailing list