lkml.org 
[lkml]   [2005]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: [PATCH 2.6.10-mm2] oprofile: update m32r for api changes
From
Sorry.
Please replace the previous patch with the following new one.

Thank you.

From: Hirokazu Takata <takata@linux-m32r.org>
Subject: [PATCH 2.6.10-mm2] oprofile: update m32r for api changes
Date: Fri, 07 Jan 2005 11:50:52 +0900 (JST)
> oprofile m32r arch updates, including some API changes.
>
> Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
> ---
>
> diff -x CVS -ruNp b/arch/m32r/oprofile/init.c /work/kernel/linux-2.6_edge/source/arch/m32r/oprofile/init.c
> --- b/arch/m32r/oprofile/init.c 2004-12-25 06:33:50.000000000 +0900
> +++ /work/kernel/linux-2.6_edge/source/arch/m32r/oprofile/init.c 2004-11-15 11:56:19.000000000 +0900
> @@ -12,11 +12,8 @@
> #include <linux/errno.h>
> #include <linux/init.h>
>
> -extern void timer_init(struct oprofile_operations ** ops);
> -
> -int __init oprofile_arch_init(struct oprofile_operations ** ops)
> +void __init oprofile_arch_init(struct oprofile_operations * ops)
> {
> - return -ENODEV;
> }
>
-----------

oprofile m32r arch updates, including some API changes.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
---

diff -ruNp a/arch/m32r/oprofile/init.c b/arch/m32r/oprofile/init.c
--- a/arch/m32r/oprofile/init.c 2004-12-25 06:33:50.000000000 +0900
+++ b/arch/m32r/oprofile/init.c 2005-01-07 12:02:15.000000000 +0900
@@ -12,14 +12,10 @@
#include <linux/errno.h>
#include <linux/init.h>

-extern void timer_init(struct oprofile_operations ** ops);
-
-int __init oprofile_arch_init(struct oprofile_operations ** ops)
+void __init oprofile_arch_init(struct oprofile_operations * ops)
{
- return -ENODEV;
}

-
void oprofile_arch_exit(void)
{
}

--
Hirokazu Takata <takata@linux-m32r.org>
Linux/M32R Project: http://www.linux-m32r.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.026 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site