From b1e574d95b6a2d8674dc45b6ff3425cffc115c14 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 6 Jun 2011 16:47:31 -0400 Subject: Blackfin: serial: convert to bfin_{read,write} helpers Since the serial struct declares the sizes for us, no need to hardcode them in the accessor functions. Let the bfin_{read,write} helpers do it for us. Signed-off-by: Mike Frysinger --- arch/blackfin/cpu/initcode.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/blackfin/cpu/initcode.c') diff --git a/arch/blackfin/cpu/initcode.c b/arch/blackfin/cpu/initcode.c index 917b7f9b91..fb3a101c79 100644 --- a/arch/blackfin/cpu/initcode.c +++ b/arch/blackfin/cpu/initcode.c @@ -19,6 +19,8 @@ #include #include +#define BUG() while (1) { asm volatile("emuexcpt;"); } + #include "serial.h" __attribute__((always_inline)) -- cgit v1.2.1