From 0da7aa7a7dfd8de2ee9830f8f0bc048cf5ed475f Mon Sep 17 00:00:00 2001 From: Joseph Koshy Date: Fri, 7 Dec 2007 13:45:47 +0000 Subject: [PATCH] Add stubs to unbreak LINT. --- sys/arm/include/pmc_mdep.h | 4 ++++ sys/ia64/include/pmc_mdep.h | 4 ++++ sys/powerpc/include/pmc_mdep.h | 4 ++++ sys/sparc64/include/pmc_mdep.h | 4 ++++ sys/sun4v/include/pmc_mdep.h | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/sys/arm/include/pmc_mdep.h b/sys/arm/include/pmc_mdep.h index 4e02fc6f135..9c719cbfa81 100644 --- a/sys/arm/include/pmc_mdep.h +++ b/sys/arm/include/pmc_mdep.h @@ -19,6 +19,10 @@ union pmc_md_op_pmcallocate { union pmc_md_pmc { }; +#define PMC_TRAPFRAME_TO_PC(TF) (0) /* Stubs */ +#define PMC_TRAPFRAME_TO_FP(TF) (0) +#define PMC_TRAPFRAME_TO_SP(TF) (0) + #endif #endif /* !_MACHINE_PMC_MDEP_H_ */ diff --git a/sys/ia64/include/pmc_mdep.h b/sys/ia64/include/pmc_mdep.h index cf643c7b4f3..7ced0b9559e 100644 --- a/sys/ia64/include/pmc_mdep.h +++ b/sys/ia64/include/pmc_mdep.h @@ -19,6 +19,10 @@ union pmc_md_op_pmcallocate { union pmc_md_pmc { }; +#define PMC_TRAPFRAME_TO_PC(TF) (0) /* Stubs */ +#define PMC_TRAPFRAME_TO_FP(TF) (0) +#define PMC_TRAPFRAME_TO_SP(TF) (0) + #endif #endif /* !_MACHINE_PMC_MDEP_H_ */ diff --git a/sys/powerpc/include/pmc_mdep.h b/sys/powerpc/include/pmc_mdep.h index d5417c3cedb..81a41fdc029 100644 --- a/sys/powerpc/include/pmc_mdep.h +++ b/sys/powerpc/include/pmc_mdep.h @@ -20,6 +20,10 @@ union pmc_md_op_pmcallocate { union pmc_md_pmc { }; +#define PMC_TRAPFRAME_TO_PC(TF) (0) /* Stubs */ +#define PMC_TRAPFRAME_TO_FP(TF) (0) +#define PMC_TRAPFRAME_TO_SP(TF) (0) + #endif #endif /* !_MACHINE_PMC_MDEP_H_ */ diff --git a/sys/sparc64/include/pmc_mdep.h b/sys/sparc64/include/pmc_mdep.h index cf643c7b4f3..7ced0b9559e 100644 --- a/sys/sparc64/include/pmc_mdep.h +++ b/sys/sparc64/include/pmc_mdep.h @@ -19,6 +19,10 @@ union pmc_md_op_pmcallocate { union pmc_md_pmc { }; +#define PMC_TRAPFRAME_TO_PC(TF) (0) /* Stubs */ +#define PMC_TRAPFRAME_TO_FP(TF) (0) +#define PMC_TRAPFRAME_TO_SP(TF) (0) + #endif #endif /* !_MACHINE_PMC_MDEP_H_ */ diff --git a/sys/sun4v/include/pmc_mdep.h b/sys/sun4v/include/pmc_mdep.h index cf643c7b4f3..7ced0b9559e 100644 --- a/sys/sun4v/include/pmc_mdep.h +++ b/sys/sun4v/include/pmc_mdep.h @@ -19,6 +19,10 @@ union pmc_md_op_pmcallocate { union pmc_md_pmc { }; +#define PMC_TRAPFRAME_TO_PC(TF) (0) /* Stubs */ +#define PMC_TRAPFRAME_TO_FP(TF) (0) +#define PMC_TRAPFRAME_TO_SP(TF) (0) + #endif #endif /* !_MACHINE_PMC_MDEP_H_ */