2007-02-08 07:33:51 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2006 IBM Corporation.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version
|
|
|
|
* 2 of the License, or (at your option) any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _PSERIES_PSERIES_H
|
|
|
|
#define _PSERIES_PSERIES_H
|
|
|
|
|
|
|
|
extern void __init fw_feature_init(void);
|
|
|
|
|
|
|
|
struct pt_regs;
|
|
|
|
|
|
|
|
extern int pSeries_system_reset_exception(struct pt_regs *regs);
|
|
|
|
extern int pSeries_machine_check_exception(struct pt_regs *regs);
|
|
|
|
|
2007-02-08 07:33:55 +00:00
|
|
|
#ifdef CONFIG_SMP
|
|
|
|
extern void smp_init_pseries_mpic(void);
|
|
|
|
extern void smp_init_pseries_xics(void);
|
|
|
|
#else
|
|
|
|
static inline smp_init_pseries_mpic(void) { };
|
|
|
|
static inline smp_init_pseries_xics(void) { };
|
|
|
|
#endif
|
|
|
|
|
2007-02-08 07:33:55 +00:00
|
|
|
#ifdef CONFIG_KEXEC
|
|
|
|
extern void setup_kexec_cpu_down_xics(void);
|
|
|
|
extern void setup_kexec_cpu_down_mpic(void);
|
|
|
|
#else
|
2007-02-14 05:08:05 +00:00
|
|
|
static inline void setup_kexec_cpu_down_xics(void) { }
|
|
|
|
static inline void setup_kexec_cpu_down_mpic(void) { }
|
2007-02-08 07:33:55 +00:00
|
|
|
#endif
|
|
|
|
|
2007-02-08 07:33:51 +00:00
|
|
|
#endif /* _PSERIES_PSERIES_H */
|