sched: declare pid_alive as inline
authorRichard Guy Briggs <rgb@redhat.com>
Sun, 16 Mar 2014 18:00:19 +0000 (14:00 -0400)
committerJiri Slaby <jslaby@suse.cz>
Fri, 23 May 2014 09:01:38 +0000 (11:01 +0200)
commit67ded0151926a7721f71ba86cec60ca8ce6f072e
treef8cbaaded4261c119b2211dca4022a5e1df8a17e
parent363e9b002420dd6bf728e558d82f49a2e077e9c5
sched: declare pid_alive as inline

commit 80e0b6e8a001361316a2d62b748fe677ec46b860 upstream.

We accidentally declared pid_alive without any extern/inline connotation.
Some platforms were fine with this, some like ia64 and mips were very angry.
If the function is inline, the prototype should be inline!

on ia64:
include/linux/sched.h:1718: warning: 'pid_alive' declared inline after
being called

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
include/linux/sched.h