diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2015-08-11 21:11:00 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2015-08-11 21:11:00 +0000 |
commit | 3646cc8595d8dee6d0ac6257ef9f3e650936c779 (patch) | |
tree | 9c68c0218c29263fed625669ce50e7dbe41cb1b1 /sys | |
parent | bb84ecc458013f2002df7145714f0fff88f26654 (diff) |
Don't inline long functions as this tends to increase object size
with no benefit.
ok millert, "correct" deraadt
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/emuxki.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/emuxki.c b/sys/dev/pci/emuxki.c index 3abce7857e3..79955663be8 100644 --- a/sys/dev/pci/emuxki.c +++ b/sys/dev/pci/emuxki.c @@ -1,4 +1,4 @@ -/* $OpenBSD: emuxki.c,v 1.48 2015/05/11 06:46:22 ratchov Exp $ */ +/* $OpenBSD: emuxki.c,v 1.49 2015/08/11 21:10:59 ratchov Exp $ */ /* $NetBSD: emuxki.c,v 1.1 2001/10/17 18:39:41 jdolecek Exp $ */ /*- @@ -543,7 +543,7 @@ emuxki_activate(struct device *self, int act) /* Misc stuff relative to emu10k1 */ -static __inline u_int32_t +static u_int32_t emuxki_rate_to_pitch(u_int32_t rate) { static const u_int32_t logMagTable[128] = { @@ -605,7 +605,7 @@ emuxki_rate_to_pitch(u_int32_t rate) /* Emu10k1 Low level */ -static __inline u_int32_t +static u_int32_t emuxki_read(struct emuxki_softc *sc, u_int16_t chano, u_int32_t reg) { u_int32_t ptr, mask = 0xffffffff; @@ -627,7 +627,7 @@ emuxki_read(struct emuxki_softc *sc, u_int16_t chano, u_int32_t reg) return (ptr); } -static __inline void +static void emuxki_write(struct emuxki_softc *sc, u_int16_t chano, u_int32_t reg, u_int32_t data) { |