Skip to content

Commit

Permalink
[PATCH] uml: arch/um/scripts/Makefile.rules - remove duplicated code
Browse files Browse the repository at this point in the history
Duplicated code - the patch adding it was probably applied twice without
enough care.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Paolo 'Blaisorblade' Giarrusso authored and Linus Torvalds committed Dec 18, 2005
1 parent e5508c1 commit 9ce7677
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/um/scripts/Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ define unprofile
endef


# The stubs and unmap.o can't try to call mcount or update basic block data
define unprofile
$(patsubst -pg,,$(patsubst -fprofile-arcs -ftest-coverage,,$(1)))
endef

# cmd_make_link checks to see if the $(foo-dir) variable starts with a /. If
# so, it's considered to be a path relative to $(srcdir) rather than
# $(srcdir)/arch/$(SUBARCH). This is because x86_64 wants to get ldt.c from
Expand Down

0 comments on commit 9ce7677

Please sign in to comment.