diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /arch/mips/oprofile/common.c | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'arch/mips/oprofile/common.c')
-rw-r--r-- | arch/mips/oprofile/common.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/mips/oprofile/common.c b/arch/mips/oprofile/common.c index 7832ad257a14..f9eb1aba6345 100644 --- a/arch/mips/oprofile/common.c +++ b/arch/mips/oprofile/common.c | |||
@@ -6,6 +6,7 @@ | |||
6 | * Copyright (C) 2004, 2005 Ralf Baechle | 6 | * Copyright (C) 2004, 2005 Ralf Baechle |
7 | * Copyright (C) 2005 MIPS Technologies, Inc. | 7 | * Copyright (C) 2005 MIPS Technologies, Inc. |
8 | */ | 8 | */ |
9 | #include <linux/compiler.h> | ||
9 | #include <linux/errno.h> | 10 | #include <linux/errno.h> |
10 | #include <linux/init.h> | 11 | #include <linux/init.h> |
11 | #include <linux/oprofile.h> | 12 | #include <linux/oprofile.h> |
@@ -14,9 +15,9 @@ | |||
14 | 15 | ||
15 | #include "op_impl.h" | 16 | #include "op_impl.h" |
16 | 17 | ||
17 | extern struct op_mips_model op_model_mipsxx_ops __attribute__((weak)); | 18 | extern struct op_mips_model op_model_mipsxx_ops __weak; |
18 | extern struct op_mips_model op_model_rm9000_ops __attribute__((weak)); | 19 | extern struct op_mips_model op_model_rm9000_ops __weak; |
19 | extern struct op_mips_model op_model_loongson2_ops __attribute__((weak)); | 20 | extern struct op_mips_model op_model_loongson2_ops __weak; |
20 | 21 | ||
21 | static struct op_mips_model *model; | 22 | static struct op_mips_model *model; |
22 | 23 | ||