1/* 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 11struct reset_call { 12 struct list_head list; 13 void (*fn)(void); 14}; 15 16extern void register_reset_call(struct reset_call *reset); 17extern void unregister_reset_call(struct reset_call *reset); 18extern void s390_reset_system(void (*fn_pre)(void), 19 void (*fn_post)(void *), void *data); 20#endif /* _ASM_S390_RESET_H */ 21