Re: [PATCH 1/5] x86/jump-label: Use best default nops for initaljump label calls

From: Michal Marek
Date: Mon Jan 30 2012 - 16:05:24 EST


On 27.1.2012 21:49, Steven Rostedt wrote:
> I need to find a way to get the config options of the kernel into the
> compiling of the update_jump_label.c. Then I could use the nops.h file
> with the set configs.

You can do a #include "../include/generated/autoconf.h" and you will get
the CONFIG_ definitions.


> Michal, can we get host tools to compile with the configs set by
> the .config file?

Yeah, we should simply compile all the host tools with autoconf.h and
kconfig.h included. The idea behind not doing this probably was that a
single scripts/ directory should work with multiple kernel
configurations, but this is obviously not the case.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/