sched: declare pid_alive as inline
authorRichard Guy Briggs <rgb@redhat.com>
Sun, 16 Mar 2014 18:00:19 +0000 (14:00 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 20 Mar 2014 14:12:00 +0000 (10:12 -0400)
commit80e0b6e8a001361316a2d62b748fe677ec46b860
tree385aea722a69dd83447b164383b57c4de380aec6
parent579ec9e1ab0bdca2dbc3c942aa1a530a6ec8c349
sched: declare pid_alive as inline

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>
include/linux/sched.h