lkml.org 
[lkml]   [2012]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/5] x86/jump-label: Use best default nops for inital jump label calls
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


\
 
 \ /
  Last update: 2012-01-30 22:07    [W:0.044 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site