Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182082
b: refs/heads/master
c: e52dd9f
h: refs/heads/master
v: v3
  • Loading branch information
Wu Zhangjin authored and Ralf Baechle committed Feb 27, 2010
1 parent e473496 commit 716eabd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aae7e8da806e1536fdee0632a40aaaeed97a2f1b
refs/heads/master: e52dd9fc6b9e0c17b220bd38371ff15032a1a155
4 changes: 2 additions & 2 deletions trunk/arch/mips/boot/compressed/dbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
* please select SYS_SUPPORTS_ZBOOT_UART16550 for your machine. othewise, you
* need to implement your own putc().
*/

#include <linux/compiler.h>
#include <linux/init.h>
#include <linux/types.h>

void __attribute__ ((weak)) putc(char c)
void __weak putc(char c)
{
}

Expand Down
7 changes: 4 additions & 3 deletions trunk/arch/mips/oprofile/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Copyright (C) 2004, 2005 Ralf Baechle
* Copyright (C) 2005 MIPS Technologies, Inc.
*/
#include <linux/compiler.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/oprofile.h>
Expand All @@ -14,9 +15,9 @@

#include "op_impl.h"

extern struct op_mips_model op_model_mipsxx_ops __attribute__((weak));
extern struct op_mips_model op_model_rm9000_ops __attribute__((weak));
extern struct op_mips_model op_model_loongson2_ops __attribute__((weak));
extern struct op_mips_model op_model_mipsxx_ops __weak;
extern struct op_mips_model op_model_rm9000_ops __weak;
extern struct op_mips_model op_model_loongson2_ops __weak;

static struct op_mips_model *model;

Expand Down

0 comments on commit 716eabd

Please sign in to comment.