From: Amir Vadai Date: Thu, 24 Mar 2011 08:46:06 +0000 (+0200) Subject: sdp: Fixed compilation error on 2.6.18 RH5.5 X-Git-Tag: v4.1.12-92~264^2~5^2~17 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=443b97a72d7fc7eecde0f3a17dec7d3e2b0362a1;p=users%2Fjedix%2Flinux-maple.git sdp: Fixed compilation error on 2.6.18 RH5.5 Signed-off-by: Amir Vadai --- diff --git a/drivers/infiniband/ulp/sdp/sdp_main.c b/drivers/infiniband/ulp/sdp/sdp_main.c index 5518df8ca5d8..1b0ff42d2dd6 100644 --- a/drivers/infiniband/ulp/sdp/sdp_main.c +++ b/drivers/infiniband/ulp/sdp/sdp_main.c @@ -3004,6 +3004,7 @@ static void __exit sdp_exit(void) ib_unregister_client(&sdp_client); percpu_counter_destroy(orphan_count); + percpu_counter_destroy(sockets_allocated); kfree(orphan_count); kfree(sockets_allocated);