~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to arch/sh/include/asm/reboot.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __ASM_SH_REBOOT_H
 
2
#define __ASM_SH_REBOOT_H
 
3
 
 
4
#include <linux/kdebug.h>
 
5
 
 
6
struct pt_regs;
 
7
 
 
8
struct machine_ops {
 
9
        void (*restart)(char *cmd);
 
10
        void (*halt)(void);
 
11
        void (*power_off)(void);
 
12
        void (*shutdown)(void);
 
13
        void (*crash_shutdown)(struct pt_regs *);
 
14
};
 
15
 
 
16
extern struct machine_ops machine_ops;
 
17
 
 
18
/* arch/sh/kernel/machine_kexec.c */
 
19
void native_machine_crash_shutdown(struct pt_regs *regs);
 
20
 
 
21
#endif /* __ASM_SH_REBOOT_H */