powerpc: move set_msr() and get_msr() into .h
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 13 Jul 2017 13:09:52 +0000 (15:09 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 23 Jul 2017 02:22:49 +0000 (22:22 -0400)
commitf1cd73674ff19e62c69c942f23abb061c0a26072
tree81123a9dc778db85f233dc23c69993eaffac9cde
parentf0eda3cb89813c49d90fec7ee5fa69d3fe3d6daa
powerpc: move set_msr() and get_msr() into .h

set_msr() and get_msr() are defined and used twice.
This patch moves them into ppc.h

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
arch/powerpc/include/asm/ppc.h
arch/powerpc/lib/interrupts.c
arch/powerpc/lib/kgdb.c