* + make-kernel_shutdown_prepare-static.patch added to -mm tree
@ 2007-11-01 7:23 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2007-11-01 7:23 UTC (permalink / raw)
To: mm-commits; +Cc: bunk, pavel, rjw
The patch titled
make kernel_shutdown_prepare() static
has been added to the -mm tree. Its filename is
make-kernel_shutdown_prepare-static.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: make kernel_shutdown_prepare() static
From: Adrian Bunk <bunk@kernel.org>
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>
---
include/linux/reboot.h | 2 --
kernel/sys.c | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff -puN include/linux/reboot.h~make-kernel_shutdown_prepare-static include/linux/reboot.h
--- a/include/linux/reboot.h~make-kernel_shutdown_prepare-static
+++ a/include/linux/reboot.h
@@ -59,8 +59,6 @@ extern void machine_crash_shutdown(struc
* 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);
diff -puN kernel/sys.c~make-kernel_shutdown_prepare-static kernel/sys.c
--- a/kernel/sys.c~make-kernel_shutdown_prepare-static
+++ a/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);
_
Patches currently in -mm which might be from bunk@kernel.org are
origin.patch
git-dvb.patch
git-hwmon.patch
git-input.patch
git-nfs-make-nfs_wb_page_priority-static.patch
git-ocfs2.patch
git-sh64.patch
scsi-advansysc-make-3-functions-static.patch
git-block.patch
sunrpc-xprtrdma-transportc-fix-use-after-free.patch
fix-mm-utilckrealloc.patch
fuse_file_alloc-fix-null-dereferences.patch
pidns-place-under-config_experimental.patch
pidns-place-under-config_experimental-checkpatch-fixes.patch
kernel-power-diskc-make-code-static.patch
make-kernel_shutdown_prepare-static.patch
kill-udffs_dateversion.patch
make-ipc-utilcsysvipc_find_ipc-static.patch
fs-ecryptfs-possible-cleanups.patch
make-jbd-journalc__journal_abort_hard-static.patch
kernel-cgroupc-remove-dead-code.patch
kernel-cgroupc-make-2-functions-static.patch
memory-controller-add-per-container-lru-and-reclaim-v7.patch
memory-controller-add-switch-to-control-what-type-of-pages-to-limit-v7.patch
reiser4.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-01 7:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-01 7:23 + make-kernel_shutdown_prepare-static.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.