From 1c193a26d227a42a1ea76564950488f48189dbde Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 21 Nov 2017 11:43:13 +0100 Subject: powerpc: Replace BSP_panic() with rtems_panic() Due to a new rtems_panic() implementation, it is possible to replace the PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic() implementations. Close #3245. --- c/src/lib/libbsp/powerpc/tqm8xx/console/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/powerpc/tqm8xx/console/console.c') diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/console/console.c b/c/src/lib/libbsp/powerpc/tqm8xx/console/console.c index 7810bc1bd1..5a681b19fb 100644 --- a/c/src/lib/libbsp/powerpc/tqm8xx/console/console.c +++ b/c/src/lib/libbsp/powerpc/tqm8xx/console/console.c @@ -526,7 +526,7 @@ sccInitialize (int chan) */ rxBuf[chan] = malloc(sizeof(*rxBuf[chan]) + 2*PPC_CACHE_ALIGNMENT); if (rxBuf[chan] == NULL) { - BSP_panic("Cannot allocate console rx buffer\n"); + rtems_panic("Cannot allocate console rx buffer\n"); } else { /* -- cgit v1.2.3