summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-11 19:30:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-11 19:30:24 +0000
commita0d22251b231521491a3a930598a803b816a81c6 (patch)
treeaa1dd8cd89e278e156859f191313155a7c1b2e13 /cpukit/sapi
parent2009-02-11 Matt Rippa <mrippa@gemini.edu> (diff)
downloadrtems-a0d22251b231521491a3a930598a803b816a81c6.tar.bz2
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/src/exinit.c: Interrupts are guaranteed to be disabled by boot_card(), do not do it here as well.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/src/exinit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c
index d725db3647..cd65388d8b 100644
--- a/cpukit/sapi/src/exinit.c
+++ b/cpukit/sapi/src/exinit.c
@@ -63,14 +63,14 @@ Objects_Information *_Internal_Objects[ OBJECTS_INTERNAL_CLASSES_LAST + 1 ];
void rtems_initialize_data_structures(void)
{
- rtems_interrupt_level bsp_level;
-
/*
* Dispatching and interrupts are disabled until the end of the
* initialization sequence. This prevents an inadvertent context
* switch before the executive is initialized.
+ *
+ * WARNING: Interrupts should have been disabled by the BSP and
+ * are disabled by boot_card().
*/
- _ISR_Disable( bsp_level );
/*
* Initialize any target architecture specific support as early as possible