summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc8260/cpm/dpram.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc8260/cpm/dpram.c')
-rw-r--r--c/src/lib/libcpu/powerpc/mpc8260/cpm/dpram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc8260/cpm/dpram.c b/c/src/lib/libcpu/powerpc/mpc8260/cpm/dpram.c
index 4e6202ed79..8b74a9759c 100644
--- a/c/src/lib/libcpu/powerpc/mpc8260/cpm/dpram.c
+++ b/c/src/lib/libcpu/powerpc/mpc8260/cpm/dpram.c
@@ -57,7 +57,7 @@ m8xx_dpram_allocate( unsigned int byte_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 < NUM_DPRAM_REGIONS; i++ ) {
/*
@@ -85,7 +85,7 @@ m8xx_dpram_allocate( unsigned int byte_count )
}
}
- _ISR_Enable(level);
+ _ISR_Local_enable(level);
if (blockp == NULL)
rtems_panic("Can't allocate %d bytes of dual-port RAM.\n", byte_count);