]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
sdp: fixed compilation error when statistics turned off
authorAmir Vadai <amirv@mellanox.co.il>
Tue, 21 Apr 2009 13:23:25 +0000 (16:23 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:04:26 +0000 (05:04 -0700)
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp.h

index 28f2fec43f4475cf108212d49cc0a45dece22390..8b67d49b0104e22523aa556e545f25bb4509b138 100644 (file)
@@ -117,6 +117,7 @@ static inline void sdpstats_hist(u32 *h, u32 val, u32 maxidx, int is_log)
 #define SDPSTATS_COUNTER_INC(stat)
 #define SDPSTATS_COUNTER_ADD(stat, val)
 #define SDPSTATS_COUNTER_MID_INC(stat, mid)
+#define SDPSTATS_HIST_LINEAR(stat, size)
 #define SDPSTATS_HIST(stat, size)
 #endif