linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Mon, 07 Feb 2005 12:14:06 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/02/07 12:14:00

Modified files:
        arch/mips/oprofile: op_model_rm9000.c 

Log message:
        rm9000_init() really is __init code.

diff -urN linux/arch/mips/oprofile/op_model_rm9000.c 
linux/arch/mips/oprofile/op_model_rm9000.c
--- linux/arch/mips/oprofile/op_model_rm9000.c  2005/01/14 00:58:31     1.3
+++ linux/arch/mips/oprofile/op_model_rm9000.c  2005/02/07 12:14:00     1.4
@@ -5,6 +5,7 @@
  *
  * Copyright (C) 2004 by Ralf Baechle
  */
+#include <linux/init.h>
 #include <linux/oprofile.h>
 #include <linux/interrupt.h>
 #include <linux/smp.h>
@@ -114,7 +115,7 @@
        return IRQ_HANDLED;
 }
 
-static int rm9000_init(void)
+static int __init rm9000_init(void)
 {
        return request_irq(rm9000_perfcount_irq, rm9000_perfcount_handler,
                           0, "Perfcounter", NULL);

<Prev in Thread] Current Thread [Next in Thread>