Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7310
b: refs/heads/master
c: dca8593
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Paul Mackerras committed Sep 6, 2005
1 parent b5f6820 commit 5d18ecf
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 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: 1a410d883023da70806a0190c4bde104545cb9c6
refs/heads/master: dca859329cee9b4cf02c8b7cb805b49973292ed2
5 changes: 1 addition & 4 deletions trunk/arch/ppc64/oprofile/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@
#include <asm/system.h>
#include <asm/pmc.h>
#include <asm/cputable.h>
#include <asm/oprofile_impl.h>

#include "op_impl.h"

extern struct op_ppc64_model op_model_rs64;
extern struct op_ppc64_model op_model_power4;
static struct op_ppc64_model *model;

static struct op_counter_config ctr[OP_MAX_COUNTER];
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/ppc64/oprofile/op_model_power4.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
#include <asm/cputable.h>
#include <asm/systemcfg.h>
#include <asm/rtas.h>
#include <asm/oprofile_impl.h>

#define dbg(args...)

#include "op_impl.h"

static unsigned long reset_value[OP_MAX_COUNTER];

static int oprofile_running;
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/ppc64/oprofile/op_model_rs64.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
#include <asm/system.h>
#include <asm/processor.h>
#include <asm/cputable.h>
#include <asm/oprofile_impl.h>

#define dbg(args...)

#include "op_impl.h"

static void ctrl_write(unsigned int i, unsigned int val)
{
unsigned int tmp = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ struct op_ppc64_model {
int num_counters;
};

extern struct op_ppc64_model op_model_rs64;
extern struct op_ppc64_model op_model_power4;

static inline unsigned int ctr_read(unsigned int i)
{
switch(i) {
Expand Down

0 comments on commit 5d18ecf

Please sign in to comment.