sched: declare pid_alive as inline
authorRichard Guy Briggs <rgb@redhat.com>
Sun, 16 Mar 2014 18:00:19 +0000 (14:00 -0400)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 17 Nov 2014 21:40:40 +0000 (23:40 +0200)
commitc42262d5ee077451897ca56f8e4fbccd1c0c164e
treeb6f3047afec74e403fb7127a75721761658f6f5e
parentf7c3ff94a296f2daf8f5f2e8be3e459636c3fdfd
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