summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2009-01-07 01:01:42 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2009-01-07 01:01:42 +0000
commit06ae4361eb71df2c7b71b1ab90769ecdfafc0826 (patch)
tree9cfcfbfbe5e735898735950861548d6a1daf86d0 /sys/dev/ic
parent6a6816a1f3e5d7de10de80d1dcaf5cf964f400ba (diff)
Don't attempt to use gcc __builtin_abs, abs is not used
anywhere speed critical and the libkern one is perfectly fine.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/bwivar.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/bwivar.h b/sys/dev/ic/bwivar.h
index 3d25bc2f717..0f7b17cc72a 100644
--- a/sys/dev/ic/bwivar.h
+++ b/sys/dev/ic/bwivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwivar.h,v 1.24 2008/07/21 04:12:21 kevlo Exp $ */
+/* $OpenBSD: bwivar.h,v 1.25 2009/01/07 01:01:41 jsg Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
@@ -625,8 +625,6 @@ struct bwi_softc {
#define BWI_F_BUS_INITED 0x1
#define BWI_F_PROMISC 0x2
-#define abs(a) __builtin_abs(a)
-
#define MOBJ_WRITE_2(mac, objid, ofs, val) \
bwi_memobj_write_2((mac), (objid), (ofs), (val))
#define MOBJ_WRITE_4(mac, objid, ofs, val) \