diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-09-07 02:19:51 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-07 02:19:51 -0400 |
commit | a1922ed661ab2c1637d0b10cde933bd9cd33d965 (patch) | |
tree | 0f1777542b385ebefd30b3586d830fd8ed6fda5b /drivers/infiniband/core | |
parent | 75e33751ca8bbb72dd6f1a74d2810ddc8cbe4bdf (diff) | |
parent | d28daf923ac5e4a0d7cecebae56f3e339189366b (diff) |
Merge branch 'tracing/core' into tracing/hw-breakpoints
Conflicts:
arch/Kconfig
kernel/trace/trace.h
Merge reason: resolve the conflicts, plus adopt to the new
ring-buffer APIs.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/infiniband/core')
-rw-r--r-- | drivers/infiniband/core/addr.c | 4 | ||||
-rw-r--r-- | drivers/infiniband/core/cma.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/infiniband/core/addr.c b/drivers/infiniband/core/addr.c index ce511d8748c..5be1bd4fc7e 100644 --- a/drivers/infiniband/core/addr.c +++ b/drivers/infiniband/core/addr.c | |||
@@ -514,7 +514,7 @@ static struct notifier_block nb = { | |||
514 | .notifier_call = netevent_callback | 514 | .notifier_call = netevent_callback |
515 | }; | 515 | }; |
516 | 516 | ||
517 | static int addr_init(void) | 517 | static int __init addr_init(void) |
518 | { | 518 | { |
519 | addr_wq = create_singlethread_workqueue("ib_addr"); | 519 | addr_wq = create_singlethread_workqueue("ib_addr"); |
520 | if (!addr_wq) | 520 | if (!addr_wq) |
@@ -524,7 +524,7 @@ static int addr_init(void) | |||
524 | return 0; | 524 | return 0; |
525 | } | 525 | } |
526 | 526 | ||
527 | static void addr_cleanup(void) | 527 | static void __exit addr_cleanup(void) |
528 | { | 528 | { |
529 | unregister_netevent_notifier(&nb); | 529 | unregister_netevent_notifier(&nb); |
530 | destroy_workqueue(addr_wq); | 530 | destroy_workqueue(addr_wq); |
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index 851de83ff45..075317884b5 100644 --- a/drivers/infiniband/core/cma.c +++ b/drivers/infiniband/core/cma.c | |||
@@ -2960,7 +2960,7 @@ static void cma_remove_one(struct ib_device *device) | |||
2960 | kfree(cma_dev); | 2960 | kfree(cma_dev); |
2961 | } | 2961 | } |
2962 | 2962 | ||
2963 | static int cma_init(void) | 2963 | static int __init cma_init(void) |
2964 | { | 2964 | { |
2965 | int ret, low, high, remaining; | 2965 | int ret, low, high, remaining; |
2966 | 2966 | ||
@@ -2990,7 +2990,7 @@ err: | |||
2990 | return ret; | 2990 | return ret; |
2991 | } | 2991 | } |
2992 | 2992 | ||
2993 | static void cma_cleanup(void) | 2993 | static void __exit cma_cleanup(void) |
2994 | { | 2994 | { |
2995 | ib_unregister_client(&cma_client); | 2995 | ib_unregister_client(&cma_client); |
2996 | unregister_netdevice_notifier(&cma_nb); | 2996 | unregister_netdevice_notifier(&cma_nb); |