2006-12-04 22:40:26 +08:00
|
|
|
/*
|
|
|
|
* include/asm-s390/reset.h
|
|
|
|
*
|
|
|
|
* Copyright IBM Corp. 2006
|
|
|
|
* Author(s): Heiko Carstens <heiko.carstens@de.ibm.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ASM_S390_RESET_H
|
|
|
|
#define _ASM_S390_RESET_H
|
|
|
|
|
|
|
|
#include <linux/list.h>
|
|
|
|
|
|
|
|
struct reset_call {
|
|
|
|
struct list_head list;
|
|
|
|
void (*fn)(void);
|
|
|
|
};
|
|
|
|
|
|
|
|
extern void register_reset_call(struct reset_call *reset);
|
|
|
|
extern void unregister_reset_call(struct reset_call *reset);
|
2011-10-30 22:16:40 +08:00
|
|
|
extern void s390_reset_system(void (*func)(void *), void *data);
|
2006-12-04 22:40:26 +08:00
|
|
|
#endif /* _ASM_S390_RESET_H */
|