aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv/lib/perf_counter.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2009-07-01 19:46:21 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-01 22:38:31 -0400
commit42ca4fb69126dd9d0e25112edca1cacf846aa5c3 (patch)
treea06d9c3eb1b7ebd62dd04328bc4371b4016224a3 /arch/frv/lib/perf_counter.c
parent00460f41fffc0435dbb6ab4b058a190163d57ce6 (diff)
FRV: Add basic performance counter support
Add basic performance counter support to the FRV arch. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/frv/lib/perf_counter.c')
-rw-r--r--arch/frv/lib/perf_counter.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/frv/lib/perf_counter.c b/arch/frv/lib/perf_counter.c
new file mode 100644
index 000000000000..2000feecd571
--- /dev/null
+++ b/arch/frv/lib/perf_counter.c
@@ -0,0 +1,19 @@
1/* Performance counter handling
2 *
3 * Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public Licence
8 * as published by the Free Software Foundation; either version
9 * 2 of the Licence, or (at your option) any later version.
10 */
11
12#include <linux/perf_counter.h>
13
14/*
15 * mark the performance counter as pending
16 */
17void set_perf_counter_pending(void)
18{
19}