diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-05 06:30:06 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 17:44:22 (GMT) |
commit | 4ef7229ffa93695e346d510b871452811509ea65 (patch) | |
tree | 052adef3a8cc1e8d502525f3355e99d5e8d9dcda /kernel | |
parent | 47a460d5a307e639d6c9cdf9bb4857e2f5f3cb76 (diff) | |
download | linux-fsl-qoriq-4ef7229ffa93695e346d510b871452811509ea65.tar.xz |
make kernel_shutdown_prepare() static
kernel_shutdown_prepare() can now become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index 4162d12..53de35f 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -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); |