Skip to content

Commit

Permalink
x86: remove obsolete PM definitions from NMI header
Browse files Browse the repository at this point in the history
Remove obsolete and no longer used PM-related definitions from
include/asm-x86/nmi.h.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Rafael J. Wysocki authored and Ingo Molnar committed Jun 12, 2008
1 parent 5b80fe8 commit bf07dc8
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions include/asm-x86/nmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,6 @@
*/
int do_nmi_callback(struct pt_regs *regs, int cpu);

#ifdef CONFIG_PM

/** Replace the PM callback routine for NMI. */
struct pm_dev *set_nmi_pm_callback(pm_callback callback);

/** Unset the PM callback routine back to the default. */
void unset_nmi_pm_callback(struct pm_dev *dev);

#else

static inline struct pm_dev *set_nmi_pm_callback(pm_callback callback)
{
return 0;
}

static inline void unset_nmi_pm_callback(struct pm_dev *dev)
{
}

#endif /* CONFIG_PM */

#ifdef CONFIG_X86_64
extern void default_do_nmi(struct pt_regs *);
extern void die_nmi(char *str, struct pt_regs *regs, int do_panic);
Expand Down

0 comments on commit bf07dc8

Please sign in to comment.