Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154756
b: refs/heads/master
c: 42ca4fb
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Jul 2, 2009
1 parent 4ef0a6e commit 21108e3
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 2 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: 00460f41fffc0435dbb6ab4b058a190163d57ce6
refs/heads/master: 42ca4fb69126dd9d0e25112edca1cacf846aa5c3
1 change: 1 addition & 0 deletions trunk/arch/frv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ config FRV
default y
select HAVE_IDE
select HAVE_ARCH_TRACEHOOK
select HAVE_PERF_COUNTERS

config ZONE_DMA
bool
Expand Down
17 changes: 17 additions & 0 deletions trunk/arch/frv/include/asm/perf_counter.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* FRV performance counter support
*
* Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/

#ifndef _ASM_PERF_COUNTER_H
#define _ASM_PERF_COUNTER_H

#define PERF_COUNTER_INDEX_OFFSET 0

#endif /* _ASM_PERF_COUNTER_H */
2 changes: 1 addition & 1 deletion trunk/arch/frv/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
lib-y := \
__ashldi3.o __lshrdi3.o __muldi3.o __ashrdi3.o __negdi2.o __ucmpdi2.o \
checksum.o memcpy.o memset.o atomic-ops.o atomic64-ops.o \
outsl_ns.o outsl_sw.o insl_ns.o insl_sw.o cache.o
outsl_ns.o outsl_sw.o insl_ns.o insl_sw.o cache.o perf_counter.o
19 changes: 19 additions & 0 deletions trunk/arch/frv/lib/perf_counter.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/* Performance counter handling
*
* Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/

#include <linux/perf_counter.h>

/*
* mark the performance counter as pending
*/
void set_perf_counter_pending(void)
{
}

0 comments on commit 21108e3

Please sign in to comment.