blob: 804578587a7a87e6e0b9eb56a1aee121bf9d2fdf [file] [log] [blame]
Heiko Carstens15e9b582006-12-04 15:40:26 +01001/*
Heiko Carstens15e9b582006-12-04 15:40:26 +01002 * 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);
Michael Holzheu60a0c682011-10-30 15:16:40 +010018extern void s390_reset_system(void (*func)(void *), void *data);
Heiko Carstens15e9b582006-12-04 15:40:26 +010019#endif /* _ASM_S390_RESET_H */