- task-watchers-register-semundo-task-watcher-cleanup.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     make ipc/sem.c:exit_sem() static

has been removed from the -mm tree.  Its filename is

     task-watchers-register-semundo-task-watcher-cleanup.patch

This patch was dropped because it was folded into task-watchers-register-semundo-task-watcher.patch

------------------------------------------------------
Subject: make ipc/sem.c:exit_sem() static
From: Adrian Bunk <bunk@xxxxxxxxx>

exit_sem() can now become static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
Cc: Matt Helsley <matthltc@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/linux/sem.h |    5 -----
 ipc/sem.c           |    3 ++-
 2 files changed, 2 insertions(+), 6 deletions(-)

diff -puN include/linux/sem.h~task-watchers-register-semundo-task-watcher-cleanup include/linux/sem.h
--- a/include/linux/sem.h~task-watchers-register-semundo-task-watcher-cleanup
+++ a/include/linux/sem.h
@@ -141,7 +141,6 @@ struct sysv_sem {
 #ifdef CONFIG_SYSVIPC
 
 extern int copy_semundo(unsigned long clone_flags, struct task_struct *tsk);
-extern void exit_sem(struct task_struct *tsk);
 
 #else
 static inline int copy_semundo(unsigned long clone_flags, struct task_struct *tsk)
@@ -149,10 +148,6 @@ static inline int copy_semundo(unsigned 
 	return 0;
 }
 
-static inline void exit_sem(struct task_struct *tsk)
-{
-	return;
-}
 #endif
 
 #endif /* __KERNEL__ */
diff -puN ipc/sem.c~task-watchers-register-semundo-task-watcher-cleanup ipc/sem.c
--- a/ipc/sem.c~task-watchers-register-semundo-task-watcher-cleanup
+++ a/ipc/sem.c
@@ -102,6 +102,7 @@ static struct ipc_ids init_sem_ids;
 
 static int newary (struct ipc_namespace *, key_t, int, int);
 static void freeary (struct ipc_namespace *ns, struct sem_array *sma, int id);
+static void exit_sem(struct task_struct *tsk);
 #ifdef CONFIG_PROC_FS
 static int sysvipc_sem_proc_show(struct seq_file *s, void *it);
 #endif
@@ -1343,7 +1344,7 @@ int copy_semundo(unsigned long clone_fla
  * The current implementation does not do so. The POSIX standard
  * and SVID should be consulted to determine what behavior is mandated.
  */
-void exit_sem(struct task_struct *tsk)
+static void exit_sem(struct task_struct *tsk)
 {
 	struct sem_undo_list *undo_list;
 	struct sem_undo *u, **up;
_

Patches currently in -mm which might be from bunk@xxxxxxxxx are

origin.patch
lockdep-core.patch
git-gfs2.patch
if-0-drivers-usb-input-hid-corechid_find_field_by_usage.patch
make-variables-static-after-klibc-merge.patch
git-libata-all.patch
git-mtd.patch
ni5010-netcard-cleanup.patch
drivers-dma-iovlockc-make-num_pages_spanned-static.patch
fs-nfs-make-2-functions-static.patch
gregkh-pci-acpiphp-configure-_prt-v3-cleanup.patch
drivers-scsi-aic7xxx-possible-cleanups.patch
drivers-scsi-small-cleanups.patch
drivers-scsi-megaraidc-add-a-dummy-mega_create_proc_entry-for-proc_fs=y.patch
drivers-scsi-qla2xxx-make-some-functions-static.patch
drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_done_with_status-static.patch
drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static.patch
drivers-scsi-aic7xxx-possible-cleanups-2.patch
drivers-scsi-advansysc-cleanups.patch
drivers-scsi-arcmsr-cleanups.patch
mm-make-functions-static.patch
acx1xx-wireless-driver.patch
fs-ecryptfs-possible-cleanups.patch
ecryptfs-add-a-maintainers-entry.patch
make-kernel-sysctlc_proc_do_string-static.patch
namespaces-utsname-implement-clone_newuts-flag-tidy.patch
task-watchers-register-semundo-task-watcher.patch
task-watchers-register-semundo-task-watcher-cleanup.patch
fs-reiser4-possible-cleanups.patch
drivers-ide-legacy-ide-csc-make-2-functions-static.patch
srcu-add-srcu-operations-to-rcutorture-tidy-2.patch
the-scheduled-removal-of-some-oss-drivers.patch
slab-cache-shrinker-statistics.patch
i386-enable-4k-stacks-by-default.patch
mutex-subsystem-synchro-test-module.patch
kernel-printkc-export_symbol_unused.patch
mm-bootmemc-export_unused_symbol.patch
mm-memoryc-export_unused_symbol.patch
mm-mmzonec-export_unused_symbol.patch
fs-read_writec-export_unused_symbol.patch
kernel-softirqc-export_unused_symbol.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux