[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080114060256.GB5187@uranus.ravnborg.org>
Date: Mon, 14 Jan 2008 07:02:56 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: Matthew Wilcox <matthew@....cx>
Cc: linux-ia64@...r.kernel.org, linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...l.org>,
Andrew Morton <akpm@...l.org>
Subject: Re: [PATCH] Fix kprobes on ia64
On Sun, Jan 13, 2008 at 07:24:24PM -0700, Matthew Wilcox wrote:
>
> If CONFIG_KPROBES is set, we get the error during build:
>
> kernel/kprobes.c:1057: error: __ksymtab_jprobe_return causes a section
> type conflict
>
> This is because ia64 defines a static inline jprobe_return which kprobes
> attempts to EXPORT_SYMBOL.
The better fix is to let jprobe_return be a normal function that can be exported.
Then we avoid this arch specific ifdef for the cost of nothing.
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists