public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: tip-bot for Ingo Molnar <mingo@elte.hu>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com,
	        jkenisto@us.ibm.com, fweisbec@gmail.com,
	        dle-develop@lists.sourceforge.net, tglx@linutronix.de,
	        mhiramat@redhat.com, mingo@elte.hu,
	systemtap@sources.redhat.com
Subject: [tip:branch?] x86, instruction decoder: Fix test_get_len build rules
Date: Sat, 24 Oct 2009 01:04:00 -0000	[thread overview]
Message-ID: <tip-9bf4e7fba8006d19846fec877b6da0616b2772de@git.kernel.org> (raw)
In-Reply-To: <20091020165531.4145.21872.stgit@dhcp-100-2-132.bos.redhat.com>

Commit-ID:  9bf4e7fba8006d19846fec877b6da0616b2772de
Gitweb:     http://git.kernel.org/tip/9bf4e7fba8006d19846fec877b6da0616b2772de
Author:     Ingo Molnar <mingo@elte.hu>
AuthorDate: Wed, 21 Oct 2009 14:39:51 +0200
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Wed, 21 Oct 2009 14:42:56 +0200

x86, instruction decoder: Fix test_get_len build rules

Add the kernel source include file as well to the include files
search path, to fix this build bug:

 In file included from arch/x86/tools/test_get_len.c:28:
   arch/x86/lib/insn.c:21:26: error: linux/string.h: No such file or directory

Cc: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap<systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20091020165531.4145.21872.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 arch/x86/tools/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/tools/Makefile b/arch/x86/tools/Makefile
index 1bd006c..5e295d9 100644
--- a/arch/x86/tools/Makefile
+++ b/arch/x86/tools/Makefile
@@ -8,8 +8,8 @@ posttest: $(obj)/test_get_len vmlinux
 hostprogs-y	:= test_get_len
 
 # -I needed for generated C source and C source which in the kernel tree.
-HOSTCFLAGS_test_get_len.o := -Wall -I$(objtree)/arch/x86/lib/ -I$(srctree)/arch/x86/include/ -I$(srctree)/arch/x86/lib/
+HOSTCFLAGS_test_get_len.o := -Wall -I$(objtree)/arch/x86/lib/ -I$(srctree)/arch/x86/include/ -I$(srctree)/arch/x86/lib/ -I$(srctree)/include/
 
-# Dependancies are also needed.
+# Dependencies are also needed.
 $(obj)/test_get_len.o: $(srctree)/arch/x86/lib/insn.c $(srctree)/arch/x86/lib/inat.c $(srctree)/arch/x86/include/asm/inat_types.h $(srctree)/arch/x86/include/asm/inat.h $(srctree)/arch/x86/include/asm/insn.h $(objtree)/arch/x86/lib/inat-tables.c
 

  parent reply	other threads:[~2009-10-24  1:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-20 16:54 [PATCH -tip perf/probes 0/2] x86 insn decoder bugfixes Masami Hiramatsu
2009-10-20 16:54 ` [PATCH -tip perf/probes 1/2] x86: Fix group attribute decoding bug Masami Hiramatsu
2009-10-24  1:04   ` [tip:branch?] " tip-bot for Masami Hiramatsu
2009-10-20 16:55 ` [PATCH -tip perf/probes 2/2] x86: Add AES opcodes to opcode map Masami Hiramatsu
2009-10-24  1:04   ` [tip:branch?] " tip-bot for Masami Hiramatsu
2009-10-24  1:04   ` tip-bot for Ingo Molnar [this message]
2009-10-21 11:26 ` [PATCH -tip perf/probes 0/2] x86 insn decoder bugfixes Ingo Molnar
2009-10-21 12:22   ` Ingo Molnar
2009-10-21 14:39     ` Masami Hiramatsu
2009-10-21 15:53       ` Masami Hiramatsu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tip-9bf4e7fba8006d19846fec877b6da0616b2772de@git.kernel.org \
    --to=mingo@elte.hu \
    --cc=dle-develop@lists.sourceforge.net \
    --cc=fweisbec@gmail.com \
    --cc=hpa@zytor.com \
    --cc=jkenisto@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mhiramat@redhat.com \
    --cc=mingo@redhat.com \
    --cc=systemtap@sources.redhat.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).