diff options
Diffstat (limited to 'c/src/lib/libbsp/m68k/gen68360/startup/alloc360.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/gen68360/startup/alloc360.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68360/startup/alloc360.c b/c/src/lib/libbsp/m68k/gen68360/startup/alloc360.c index 8e6b63ca7c..53f90876e4 100644 --- a/c/src/lib/libbsp/m68k/gen68360/startup/alloc360.c +++ b/c/src/lib/libbsp/m68k/gen68360/startup/alloc360.c @@ -47,7 +47,7 @@ M360AllocateBufferDescriptors (int count) * form, but this routine is probably being run as part of an * initialization sequence so the effect shouldn't be too severe. */ - _ISR_Disable (level); + _ISR_Local_disable (level); for (i = 0 ; i < sizeof(bdregions) / sizeof(bdregions[0]) ; i++) { /* * Verify that the region exists. @@ -74,7 +74,7 @@ M360AllocateBufferDescriptors (int count) break; } } - _ISR_Enable (level); + _ISR_Local_enable (level); if (bdp == NULL) rtems_panic ("Can't allocate %d buffer descriptor(s).\n", count); return bdp; |