Re: [PATCH 07/13] jump label v8: sort jump table at build-time

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jason Baron
Date: Monday, May 24, 2010 - 1:14 pm

On Thu, May 20, 2010 at 05:32:16PM -0400, Mathieu Desnoyers wrote:

The jump_entry.h is per arch found in:
arch/<arch>/include/asm/jump_entry.

Its being found in modpost.c, via:

HOST_EXTRACFLAGS += -iquote "$(srctree)/arch/$(hdr-arch)/include/asm"

in scripts/mod/Makefile

I used the quotes so that its less likely to conflict with any other
include.


right. i have that defined already as include/linux/jump_label.h. Which
is the include file that kernel code uses. However, I can't use it in
the modpost.c code, since there are a number of kernel specific
references. (I probably could simplify things a bit using #ifdef
KERNEL).


agreed. I'll clean this up in the next iteration.

thanks,

-jason
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/13] jump label v8, Jason Baron, (Wed May 19, 9:21 am)
[PATCH 02/13] jump label v8: base patch, Jason Baron, (Wed May 19, 9:21 am)
[PATCH 03/13] jump label v8: x86 support, Jason Baron, (Wed May 19, 9:21 am)
[PATCH 04/13] jump label v8: tracepoint support, Jason Baron, (Wed May 19, 9:22 am)
[PATCH 05/13] jump label v8: add module support, Jason Baron, (Wed May 19, 9:22 am)
[PATCH 10/13] jump label v8: add docs, Jason Baron, (Wed May 19, 9:22 am)
Re: [PATCH 07/13] jump label v8: sort jump table at build-time, Mathieu Desnoyers, (Thu May 20, 2:32 pm)
Re: [PATCH 07/13] jump label v8: sort jump table at build-time, Jason Baron, (Mon May 24, 1:14 pm)