Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83133
b: refs/heads/master
c: 4ef7229
h: refs/heads/master
i:
  83131: 7371808
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Feb 5, 2008
1 parent 5b10448 commit 8e19e17
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 47a460d5a307e639d6c9cdf9bb4857e2f5f3cb76
refs/heads/master: 4ef7229ffa93695e346d510b871452811509ea65
2 changes: 0 additions & 2 deletions trunk/include/linux/reboot.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ extern void machine_crash_shutdown(struct pt_regs *);
* Architecture independent implemenations of sys_reboot commands.
*/

extern void kernel_shutdown_prepare(enum system_states state);

extern void kernel_restart(char *cmd);
extern void kernel_halt(void);
extern void kernel_power_off(void);
Expand Down
2 changes: 1 addition & 1 deletion trunk/kernel/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ static void kernel_kexec(void)
#endif
}

void kernel_shutdown_prepare(enum system_states state)
static void kernel_shutdown_prepare(enum system_states state)
{
blocking_notifier_call_chain(&reboot_notifier_list,
(state == SYSTEM_HALT)?SYS_HALT:SYS_POWER_OFF, NULL);
Expand Down

0 comments on commit 8e19e17

Please sign in to comment.