Sun-3 missing sbus_readl()
PATCH 1/1 Sun-3 missing sbus_readl()
Sun-3 sbus: Add missing definition of sbus_readl() (from Sam Creasey)
include/asm-m68k/sbus.h +7 -0
@@ -36,8 +36,15 @@ } +extern inline unsigned long _sbus_readl (unsigned long addr) +{ +return *(volatile unsigned long *)addr; +} + +#define sbus_readb (a) _sbus_readb((unsigned long)a)#define sbus_writeb (v, a) _sbus_writeb(v, (unsigned long)a) +#define sbus_readl (a) _sbus_readl((unsigned long)a)#define sbus_writel (v, a) _sbus_writel(v, (unsigned long)a)#endif
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds