Heiko Carstens | 15e9b58 | 2006-12-04 15:40:26 +0100 | [diff] [blame] | 1 | /* |
Heiko Carstens | 15e9b58 | 2006-12-04 15:40:26 +0100 | [diff] [blame] | 2 | * Copyright IBM Corp. 2006 |
| 3 | * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com> |
| 4 | */ |
| 5 | |
| 6 | #ifndef _ASM_S390_RESET_H |
| 7 | #define _ASM_S390_RESET_H |
| 8 | |
| 9 | #include <linux/list.h> |
| 10 | |
| 11 | struct reset_call { |
| 12 | struct list_head list; |
| 13 | void (*fn)(void); |
| 14 | }; |
| 15 | |
| 16 | extern void register_reset_call(struct reset_call *reset); |
| 17 | extern void unregister_reset_call(struct reset_call *reset); |
Michael Holzheu | 60a0c68 | 2011-10-30 15:16:40 +0100 | [diff] [blame] | 18 | extern void s390_reset_system(void (*func)(void *), void *data); |
Heiko Carstens | 15e9b58 | 2006-12-04 15:40:26 +0100 | [diff] [blame] | 19 | #endif /* _ASM_S390_RESET_H */ |