diff options
Diffstat (limited to 'arch/microblaze/oprofile')
-rw-r--r-- | arch/microblaze/oprofile/Makefile | 13 | ||||
-rw-r--r-- | arch/microblaze/oprofile/microblaze_oprofile.c | 22 |
2 files changed, 35 insertions, 0 deletions
diff --git a/arch/microblaze/oprofile/Makefile b/arch/microblaze/oprofile/Makefile new file mode 100644 index 000000000000..0d0348c8af97 --- /dev/null +++ b/arch/microblaze/oprofile/Makefile | |||
@@ -0,0 +1,13 @@ | |||
1 | # | ||
2 | # arch/microblaze/oprofile/Makefile | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_OPROFILE) += oprofile.o | ||
6 | |||
7 | DRIVER_OBJS := $(addprefix ../../../drivers/oprofile/, \ | ||
8 | oprof.o cpu_buffer.o buffer_sync.o \ | ||
9 | event_buffer.o oprofile_files.o \ | ||
10 | oprofilefs.o oprofile_stats.o \ | ||
11 | timer_int.o ) | ||
12 | |||
13 | oprofile-y := $(DRIVER_OBJS) microblaze_oprofile.o | ||
diff --git a/arch/microblaze/oprofile/microblaze_oprofile.c b/arch/microblaze/oprofile/microblaze_oprofile.c new file mode 100644 index 000000000000..def17e59888e --- /dev/null +++ b/arch/microblaze/oprofile/microblaze_oprofile.c | |||
@@ -0,0 +1,22 @@ | |||
1 | /* | ||
2 | * Microblaze oprofile code | ||
3 | * | ||
4 | * Copyright (C) 2009 Michal Simek <monstr@monstr.eu> | ||
5 | * Copyright (C) 2009 PetaLogix | ||
6 | * | ||
7 | * This file is subject to the terms and conditions of the GNU General Public | ||
8 | * License. See the file "COPYING" in the main directory of this archive | ||
9 | * for more details. | ||
10 | */ | ||
11 | |||
12 | #include <linux/oprofile.h> | ||
13 | #include <linux/init.h> | ||
14 | |||
15 | int __init oprofile_arch_init(struct oprofile_operations *ops) | ||
16 | { | ||
17 | return -1; | ||
18 | } | ||
19 | |||
20 | void oprofile_arch_exit(void) | ||
21 | { | ||
22 | } | ||