.. | .. |
---|
30 | 30 | #define ARCH_PANIC_TIMEOUT 180 |
---|
31 | 31 | |
---|
32 | 32 | #ifdef CONFIG_PPC_PSERIES |
---|
33 | | -extern void pseries_enable_reloc_on_exc(void); |
---|
| 33 | +extern bool pseries_enable_reloc_on_exc(void); |
---|
34 | 34 | extern void pseries_disable_reloc_on_exc(void); |
---|
35 | 35 | extern void pseries_big_endian_exceptions(void); |
---|
36 | 36 | extern void pseries_little_endian_exceptions(void); |
---|
37 | 37 | #else |
---|
38 | | -static inline void pseries_enable_reloc_on_exc(void) {} |
---|
| 38 | +static inline bool pseries_enable_reloc_on_exc(void) { return false; } |
---|
39 | 39 | static inline void pseries_disable_reloc_on_exc(void) {} |
---|
40 | 40 | static inline void pseries_big_endian_exceptions(void) {} |
---|
41 | 41 | static inline void pseries_little_endian_exceptions(void) {} |
---|