diff options
author | Michal Simek <monstr@monstr.eu> | 2011-03-18 08:52:27 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2011-04-01 03:34:51 -0400 |
commit | 9e1491de519712c73ec621c4ef4872eca6f2bb57 (patch) | |
tree | 696212790d54df8ba313874115f30b073616a51c /arch/microblaze/lib/Makefile | |
parent | 57bd35d414c453fea2b08e9dad6067ee7e6c188a (diff) |
microblaze: Fix ftrace
- Do not trace idle loop which takes a lot time
- Fix cache handling in generic ftrace code
- Do not trace lib functions ashldi3, ashrdi3, lshrdi3
Functions are called from generic ftrace code which
can't be traced
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/lib/Makefile')
-rw-r--r-- | arch/microblaze/lib/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/microblaze/lib/Makefile b/arch/microblaze/lib/Makefile index f1fcbff3da25..10c320aa908b 100644 --- a/arch/microblaze/lib/Makefile +++ b/arch/microblaze/lib/Makefile | |||
@@ -2,6 +2,12 @@ | |||
2 | # Makefile | 2 | # Makefile |
3 | # | 3 | # |
4 | 4 | ||
5 | ifdef CONFIG_FUNCTION_TRACER | ||
6 | CFLAGS_REMOVE_ashldi3.o = -pg | ||
7 | CFLAGS_REMOVE_ashrdi3.o = -pg | ||
8 | CFLAGS_REMOVE_lshrdi3.o = -pg | ||
9 | endif | ||
10 | |||
5 | lib-y := memset.o | 11 | lib-y := memset.o |
6 | 12 | ||
7 | ifeq ($(CONFIG_OPT_LIB_ASM),y) | 13 | ifeq ($(CONFIG_OPT_LIB_ASM),y) |