提交 1d59483a 编写于 作者: J Jon Loeliger 提交者: Kumar Gala

[POWERPC] Add _nmask_and_or_msr() declartion to asm-powerpc/system.h

Prevents miscellaneous users from declaring it locally.
Signed-off-by: NJon Loeliger <jdl@freecale.com>
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 70f782e1
...@@ -53,8 +53,6 @@ ...@@ -53,8 +53,6 @@
#define MPC7448HPC2_PCI_CFG_PHYS 0xfb000000 #define MPC7448HPC2_PCI_CFG_PHYS 0xfb000000
extern void _nmask_and_or_msr(unsigned long nmask, unsigned long or_val);
int mpc7448_hpc2_exclude_device(struct pci_controller *hose, int mpc7448_hpc2_exclude_device(struct pci_controller *hose,
u_char bus, u_char devfn) u_char bus, u_char devfn)
{ {
......
...@@ -169,6 +169,8 @@ extern int do_page_fault(struct pt_regs *, unsigned long, unsigned long); ...@@ -169,6 +169,8 @@ extern int do_page_fault(struct pt_regs *, unsigned long, unsigned long);
extern void bad_page_fault(struct pt_regs *, unsigned long, int); extern void bad_page_fault(struct pt_regs *, unsigned long, int);
extern int die(const char *, struct pt_regs *, long); extern int die(const char *, struct pt_regs *, long);
extern void _exception(int, struct pt_regs *, int, unsigned long); extern void _exception(int, struct pt_regs *, int, unsigned long);
extern void _nmask_and_or_msr(unsigned long nmask, unsigned long or_val);
#ifdef CONFIG_BOOKE_WDT #ifdef CONFIG_BOOKE_WDT
extern u32 booke_wdt_enabled; extern u32 booke_wdt_enabled;
extern u32 booke_wdt_period; extern u32 booke_wdt_period;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册