x86: Move MAX_INSN_SIZE into asm/insn.h

Since there's now two users for this, place it in a common header.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Cc: paulus@samba.org
Cc: eranian@google.com
Cc: robert.richter@amd.com
Cc: fweisbec@gmail.com
LKML-Reference: <20100304140100.923774125@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Peter Zijlstra
2010-03-04 13:49:21 +01:00
committed by Ingo Molnar
parent 7e1a40dda6
commit 30a813ae03
3 changed files with 3 additions and 3 deletions

View File

@ -379,8 +379,6 @@ static void intel_pmu_pebs_disable_all(void)
#include <asm/insn.h>
#define MAX_INSN_SIZE 16
static inline bool kernel_ip(unsigned long ip)
{
#ifdef CONFIG_X86_32