reset.h 492 B

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