From fcc93b542579c3c2572bc66ec0329395ec6a793c Mon Sep 17 00:00:00 2001 From: Michael Blizek Date: Sun, 10 Apr 2011 08:25:13 +0200 Subject: [PATCH] add __init to credits_init+forward_init (reported by Sohail Qayum Malik) --- net/cor/credits.c | 2 +- net/cor/forward.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/cor/credits.c b/net/cor/credits.c index 83920a6c31c..7b3dd9d2854 100644 --- a/net/cor/credits.c +++ b/net/cor/credits.c @@ -620,7 +620,7 @@ static void background_refresh_credits(struct work_struct *work) } } -void credits_init(void) +void __init credits_init(void) { INIT_DELAYED_WORK(&credit_refresh_work, background_refresh_credits); } diff --git a/net/cor/forward.c b/net/cor/forward.c index 41e0f047351..1b355a33a78 100644 --- a/net/cor/forward.c +++ b/net/cor/forward.c @@ -664,7 +664,7 @@ void wake_sender(struct conn *rconn) } } -void forward_init(void) +void __init forward_init(void) { data_buf_item_slab = kmem_cache_create("cor_data_buf_item", sizeof(struct data_buf_item), 8, 0, 0); -- 2.11.4.GIT