rt/rcutree: Move misplaced prototype
authorIngo Molnar <mingo@elte.hu>
Wed, 14 Dec 2011 11:51:28 +0000 (12:51 +0100)
committerClark Williams <williams@redhat.com>
Wed, 15 Feb 2012 16:32:55 +0000 (10:32 -0600)
commit5f4f42322b9cf52c9cac50a57d593c070fc3bfee
tree3790ba2963067c803c109a80ea6367b94d8360fb
parentc75020854370faa8890b0ae11e34e82c19cc51e7
rt/rcutree: Move misplaced prototype

Fix this warning on x86 defconfig:

  kernel/rcutree.h:433:13: warning: ‘rcu_preempt_qs’ declared ‘static’ but never defined [-Wunused-function]

The #ifdefs and prototypes here are a maze, move it closer to the
usage site that needs it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/rcutree.c
kernel/rcutree.h