Commit 44211964 authored by Richard Guy Briggs's avatar Richard Guy Briggs Committed by Ben Hutchings
Browse files

sched: declare pid_alive as inline



commit 80e0b6e8 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: default avatarRichard Guy Briggs <rgb@redhat.com>
Signed-off-by: default avatarEric Paris <eparis@redhat.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Cc: Neal Gompa <ngompa13@gmail.com>
parent cc1875ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment