From 696bfc9d68f10b530ec2534846a02764e8be4d92 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 7 Feb 2005 12:14:00 +0000 Subject: [PATCH] --- yaml --- r: 10983 b: refs/heads/master c: cc26b815ddde4168cd853be9e62ecacd392e3f64 h: refs/heads/master i: 10981: 9fcca5a1f9c39d955c702887e8e2d7ab3f8c9c7a 10979: 04e3ecae713094882a0d5472fc1089e746aa423f 10975: a3a4aad514c2ce36b52a43a3ed7332cf4acc454f v: v3 --- [refs] | 2 +- trunk/arch/mips/oprofile/op_model_rm9000.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 23d53abba0c9..80b3e7a53fa0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a18815abcdfd9f10a6ce6fbec3ad1af1ae101ce7 +refs/heads/master: cc26b815ddde4168cd853be9e62ecacd392e3f64 diff --git a/trunk/arch/mips/oprofile/op_model_rm9000.c b/trunk/arch/mips/oprofile/op_model_rm9000.c index bee47793cb1a..9b75e41c78ef 100644 --- a/trunk/arch/mips/oprofile/op_model_rm9000.c +++ b/trunk/arch/mips/oprofile/op_model_rm9000.c @@ -5,6 +5,7 @@ * * Copyright (C) 2004 by Ralf Baechle */ +#include #include #include #include @@ -114,7 +115,7 @@ static irqreturn_t rm9000_perfcount_handler(int irq, void * dev_id, 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);