1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright IBM Corp. 2006 4 * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com> 5 */ 6 7 #ifndef _ASM_S390_RESET_H 8 #define _ASM_S390_RESET_H 9 10 #include <linux/list.h> 11 12 struct reset_call { 13 struct list_head list; 14 void (*fn)(void); 15 }; 16 17 extern void register_reset_call(struct reset_call *reset); 18 extern void unregister_reset_call(struct reset_call *reset); 19 extern void s390_reset_system(void); 20 #endif /* _ASM_S390_RESET_H */ 21