kexec: Export kexec_in_progress to modules
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 21 Oct 2016 01:15:16 +0000 (18:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Oct 2016 01:53:45 +0000 (21:53 -0400)
commit97dcaa0fcfd24daa9a36c212c1ad1d5a97759212
tree49ac30a350cd6853e5fce776a607cffab62dbbdb
parenta681574c99be23e4d20b769bf0e543239c364af5
kexec: Export kexec_in_progress to modules

The bcm_sf2 driver uses kexec_in_progress to know whether it can power
down an integrated PHY during shutdown, and can be built as a module.
Other modules may be using this in the future, so export it.

Fixes: 2399d6143f85 ("net: dsa: bcm_sf2: Prevent GPHY shutdown for kexec'd kernels")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/kexec_core.c