machdep.h 349 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _PARISC_MACHDEP_H
  3. #define _PARISC_MACHDEP_H
  4. #include <linux/notifier.h>
  5. #define MACH_RESTART 1
  6. #define MACH_HALT 2
  7. #define MACH_POWER_ON 3
  8. #define MACH_POWER_OFF 4
  9. extern struct notifier_block *mach_notifier;
  10. extern void pa7300lc_init(void);
  11. extern void (*cpu_lpmc)(int, struct pt_regs *);
  12. #endif