diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-15 09:00:18 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-15 09:00:18 +0100 |
commit | b69bc3967445169ea4dc11171118b414eafab271 (patch) | |
tree | 52bff205f1fc1dbcae5aba7531c5b53f52b4823e /Documentation | |
parent | c466ed2e4337c5eb03b283da507eb5328ab06c73 (diff) | |
parent | d2f8d7ee1a9b4650b4e43325b321801264f7c37a (diff) | |
download | blackbird-op-linux-b69bc3967445169ea4dc11171118b414eafab271.tar.gz blackbird-op-linux-b69bc3967445169ea4dc11171118b414eafab271.zip |
Merge commit 'v2.6.29-rc5' into x86/apic
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/connector/cn_test.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/connector/cn_test.c b/Documentation/connector/cn_test.c index be7af146dd30..6977c178729a 100644 --- a/Documentation/connector/cn_test.c +++ b/Documentation/connector/cn_test.c @@ -137,7 +137,7 @@ static void cn_test_timer_func(unsigned long __data) memcpy(m + 1, data, m->len); - cn_netlink_send(m, 0, gfp_any()); + cn_netlink_send(m, 0, GFP_ATOMIC); kfree(m); } @@ -160,10 +160,8 @@ static int cn_test_init(void) goto err_out; } - init_timer(&cn_test_timer); - cn_test_timer.function = cn_test_timer_func; + setup_timer(&cn_test_timer, cn_test_timer_func, 0); cn_test_timer.expires = jiffies + HZ; - cn_test_timer.data = 0; add_timer(&cn_test_timer); return 0; |