lkml.org 
[lkml]   [2009]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:perf/probes] x86: Remove unused config macros from instruction decoder selftest
Commit-ID:  70069577323e6f72b845166724f34b9858134437
Gitweb: http://git.kernel.org/tip/70069577323e6f72b845166724f34b9858134437
Author: Masami Hiramatsu <mhiramat@redhat.com>
AuthorDate: Fri, 28 Aug 2009 18:13:26 -0400
Committer: Frederic Weisbecker <fweisbec@gmail.com>
CommitDate: Fri, 4 Sep 2009 18:14:15 +0200

x86: Remove unused config macros from instruction decoder selftest

Remove dummy definitions of CONFIG_X86_64 and CONFIG_X86_32 because
those macros are not used in the instruction decoder anymore.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <20090828221326.8778.70723.stgit@localhost.localdomain>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
---
arch/x86/tools/test_get_len.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/arch/x86/tools/test_get_len.c b/arch/x86/tools/test_get_len.c
index a3273f4..376d338 100644
--- a/arch/x86/tools/test_get_len.c
+++ b/arch/x86/tools/test_get_len.c
@@ -21,11 +21,6 @@
#include <string.h>
#include <assert.h>

-#ifdef __x86_64__
-#define CONFIG_X86_64
-#else
-#define CONFIG_X86_32
-#endif
#define unlikely(cond) (cond)

#include <asm/insn.h>

\
 
 \ /
  Last update: 2009-10-17 12:01    [W:0.079 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site