- likely_prof-changed-to-use-proc_create.patch removed from -mm tree

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

 



The patch titled
     likely_prof changed to use proc_create
has been removed from the -mm tree.  Its filename was
     likely_prof-changed-to-use-proc_create.patch

This patch was dropped because it was folded into profile-likely-unlikely-macros.patch

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: likely_prof changed to use proc_create
From: Daniel Walker <dwalker@xxxxxxxxxx>

Convert likely profiling to use proc_create instead of create_proc_entry.

Signed-off-by: Daniel Walker <dwalker@xxxxxxxxxx>
Cc: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 lib/likely_prof.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff -puN lib/likely_prof.c~likely_prof-changed-to-use-proc_create lib/likely_prof.c
--- a/lib/likely_prof.c~likely_prof-changed-to-use-proc_create
+++ a/lib/likely_prof.c
@@ -136,10 +136,11 @@ static struct file_operations proc_likel
 
 static int __init init_likely(void)
 {
-	struct proc_dir_entry *entry;
-	entry = create_proc_entry("likely_prof", 0, &proc_root);
-	if (entry)
-		entry->proc_fops = &proc_likely_operations;
+	struct proc_dir_entry *entry =
+		proc_create("likely_prof", 0, &proc_root,
+				&proc_likely_operations);
+	if (!entry)
+		return 1;
 
 	return 0;
 }
_

Patches currently in -mm which might be from dwalker@xxxxxxxxxx are

linux-next.patch
profile-likely-unlikely-macros.patch
likely_prof-changed-to-use-proc_create.patch
likeliness-accounting-change-and-cleanup.patch
likely-profiling-disable-ftrace.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