[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070715234125.GI22428@Krystal>
Date: Sun, 15 Jul 2007 19:41:25 -0400
From: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
To: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org
Cc: hch@...radead.org
Subject: [PATCH] Immediate Values - i386 Optimization - kerneldoc for implementation
Immediate Values - i386 Optimization - kerneldoc for implementation
Add kerneldoc to Immediate Values (i386 Optimization) API.
It applies after
"Immediate Values - i386 Optimization - kerneldoc"
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
CC: hch@...radead.org
---
arch/i386/kernel/immediate.c | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
Index: linux-2.6-lttng/arch/i386/kernel/immediate.c
===================================================================
--- linux-2.6-lttng.orig/arch/i386/kernel/immediate.c 2007-07-15 19:08:03.000000000 -0400
+++ linux-2.6-lttng/arch/i386/kernel/immediate.c 2007-07-15 19:09:56.000000000 -0400
@@ -170,8 +170,12 @@ static struct notifier_block immediate_n
.priority = 0x7fffffff, /* we need to be notified first */
};
-/*
- * Must be called with immediate_mutex held.
+
+/**
+ * arch_immediate_update - update one immediate value
+ * @immediate: pointer of type const struct __immediate to update
+ *
+ * Update one immediate value. Must be called with immediate_mutex held.
*/
__kprobes int arch_immediate_update(const struct __immediate *immediate)
{
@@ -266,8 +270,11 @@ __kprobes int arch_immediate_update(cons
return 0;
}
-/*
- * Very early initialization of the in-core immediate values.
+/**
+ * arch_immediate_update_early - update one immediate value at boot time
+ * @immediate: pointer of type const struct __immediate to update
+ *
+ * Update one immediate value at boot time.
*/
void __init arch_immediate_update_early(const struct __immediate *immediate)
{
--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists