Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11439
b: refs/heads/master
c: a3e48c1
h: refs/heads/master
i:
  11437: f13ddc7
  11435: de77c6f
  11431: aadd1bc
  11423: f2b5cd3
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Sep 21, 2005
1 parent 5f6fa2a commit 0be9579
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 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: d9e5b83b120dea9f306de06f7dead55103ab2d46
refs/heads/master: a3e48c10cca3287a845435dd8ca58ecbde72d847
2 changes: 1 addition & 1 deletion trunk/arch/ppc/oprofile/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include "op_impl.h"

static struct op_ppc32_model *model;
static struct op_powerpc_model *model;

static struct op_counter_config ctr[OP_MAX_COUNTER];
static struct op_system_config sys;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc/oprofile/op_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct op_system_config {
};

/* Per-arch configuration */
struct op_ppc32_model {
struct op_powerpc_model {
void (*reg_setup) (struct op_counter_config *,
struct op_system_config *,
int num_counters);
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc/oprofile/op_model_fsl_booke.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static void fsl_booke_handle_interrupt(struct pt_regs *regs,
pmc_start_ctrs(1);
}

struct op_ppc32_model op_model_fsl_booke = {
struct op_powerpc_model op_model_fsl_booke = {
.reg_setup = fsl_booke_reg_setup,
.start = fsl_booke_start,
.stop = fsl_booke_stop,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc64/oprofile/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <asm/cputable.h>
#include <asm/oprofile_impl.h>

static struct op_ppc64_model *model;
static struct op_powerpc_model *model;

static struct op_counter_config ctr[OP_MAX_COUNTER];
static struct op_system_config sys;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc64/oprofile/op_model_power4.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ static void power4_handle_interrupt(struct pt_regs *regs,
mtspr(SPRN_MMCR0, mmcr0);
}

struct op_ppc64_model op_model_power4 = {
struct op_powerpc_model op_model_power4 = {
.reg_setup = power4_reg_setup,
.cpu_setup = power4_cpu_setup,
.start = power4_start,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc64/oprofile/op_model_rs64.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ static void rs64_handle_interrupt(struct pt_regs *regs,
mtspr(SPRN_MMCR0, mmcr0);
}

struct op_ppc64_model op_model_rs64 = {
struct op_powerpc_model op_model_rs64 = {
.reg_setup = rs64_reg_setup,
.cpu_setup = rs64_cpu_setup,
.start = rs64_start,
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-ppc/perfmon.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void pmc_start_ctrs(int enable);
void pmc_stop_ctrs(void);
void dump_pmcs(void);

extern struct op_ppc32_model op_model_fsl_booke;
extern struct op_powerpc_model op_model_fsl_booke;
#endif

#endif /* __PERFMON_H */
4 changes: 2 additions & 2 deletions trunk/include/asm-ppc64/cputable.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* via the mkdefs mechanism.
*/
struct cpu_spec;
struct op_ppc64_model;
struct op_powerpc_model;

typedef void (*cpu_setup_t)(unsigned long offset, struct cpu_spec* spec);

Expand Down Expand Up @@ -65,7 +65,7 @@ struct cpu_spec {
char *oprofile_cpu_type;

/* Processor specific oprofile operations */
struct op_ppc64_model *oprofile_model;
struct op_powerpc_model *oprofile_model;
};

extern struct cpu_spec cpu_specs[];
Expand Down
6 changes: 3 additions & 3 deletions trunk/include/asm-ppc64/oprofile_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct op_system_config {
};

/* Per-arch configuration */
struct op_ppc64_model {
struct op_powerpc_model {
void (*reg_setup) (struct op_counter_config *,
struct op_system_config *,
int num_counters);
Expand All @@ -49,8 +49,8 @@ struct op_ppc64_model {
int num_counters;
};

extern struct op_ppc64_model op_model_rs64;
extern struct op_ppc64_model op_model_power4;
extern struct op_powerpc_model op_model_rs64;
extern struct op_powerpc_model op_model_power4;

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

0 comments on commit 0be9579

Please sign in to comment.