diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-19 14:57:44 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-22 08:40:26 +0200 |
commit | cdf30f0550432648ac005e3f71814b7f708a4ce3 (patch) | |
tree | 7dc1af2af9a1de7565a9e79736166994495486a2 /c/src | |
parent | tmtests/tm27: Use scheduler lock (diff) | |
download | rtems-cdf30f0550432648ac005e3f71814b7f708a4ce3.tar.bz2 |
rtems: Add rtems_interrupt_local_disable|enable()
Add rtems_interrupt_local_disable|enable() as suggested by Pavel Pisa to
emphasize that interrupts are only disabled on the current processor.
Do not define the rtems_interrupt_disable|enable|flash() macros and
functions on SMP configurations since they don't ensure system wide
mutual exclusion.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/shared/bootcard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/shared/bootcard.c b/c/src/lib/libbsp/shared/bootcard.c index 4f91aa9c4e..0ee5e12cd0 100644 --- a/c/src/lib/libbsp/shared/bootcard.c +++ b/c/src/lib/libbsp/shared/bootcard.c @@ -72,7 +72,7 @@ void boot_card( * Make sure interrupts are disabled. */ (void) bsp_isr_level; - rtems_interrupt_disable( bsp_isr_level ); + rtems_interrupt_local_disable( bsp_isr_level ); bsp_boot_cmdline = cmdline; |