Re: [PATCH 09/11] tools/objtool: Copy hashtable.h into tools directory

2016-03-09 Thread Ingo Molnar
* Josh Poimboeuf wrote: > > So it would be nice to also add a build time warning if the 'upstream' copy > > of > > hashtable.h deviates from the tooling file. > > > > Just like you are already doing it for other files: > > > > objtool/Makefile: diff -I'^#include'

Re: [PATCH 09/11] tools/objtool: Copy hashtable.h into tools directory

2016-03-09 Thread Ingo Molnar
* Josh Poimboeuf wrote: > > So it would be nice to also add a build time warning if the 'upstream' copy > > of > > hashtable.h deviates from the tooling file. > > > > Just like you are already doing it for other files: > > > > objtool/Makefile: diff -I'^#include' arch/x86/insn/insn.c

Re: [PATCH 09/11] tools/objtool: Copy hashtable.h into tools directory

2016-03-09 Thread Josh Poimboeuf
On Wed, Mar 09, 2016 at 10:47:59AM +0100, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > Copy hashtable.h from include/linux/tools.h. It's needed by objtool in > > the next patch in the series. > > > > Add some includes that it needs, and remove references to > >

Re: [PATCH 09/11] tools/objtool: Copy hashtable.h into tools directory

2016-03-09 Thread Josh Poimboeuf
On Wed, Mar 09, 2016 at 10:47:59AM +0100, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > Copy hashtable.h from include/linux/tools.h. It's needed by objtool in > > the next patch in the series. > > > > Add some includes that it needs, and remove references to > > kernel-specific

Re: [PATCH 09/11] tools/objtool: Copy hashtable.h into tools directory

2016-03-09 Thread Ingo Molnar
* Josh Poimboeuf wrote: > Copy hashtable.h from include/linux/tools.h. It's needed by objtool in > the next patch in the series. > > Add some includes that it needs, and remove references to > kernel-specific features like RCU and __read_mostly. > > Also change some if

Re: [PATCH 09/11] tools/objtool: Copy hashtable.h into tools directory

2016-03-09 Thread Ingo Molnar
* Josh Poimboeuf wrote: > Copy hashtable.h from include/linux/tools.h. It's needed by objtool in > the next patch in the series. > > Add some includes that it needs, and remove references to > kernel-specific features like RCU and __read_mostly. > > Also change some if its dependency

[PATCH 09/11] tools/objtool: Copy hashtable.h into tools directory

2016-03-08 Thread Josh Poimboeuf
Copy hashtable.h from include/linux/tools.h. It's needed by objtool in the next patch in the series. Add some includes that it needs, and remove references to kernel-specific features like RCU and __read_mostly. Also change some if its dependency headers' includes to use quotes instead of

[PATCH 09/11] tools/objtool: Copy hashtable.h into tools directory

2016-03-08 Thread Josh Poimboeuf
Copy hashtable.h from include/linux/tools.h. It's needed by objtool in the next patch in the series. Add some includes that it needs, and remove references to kernel-specific features like RCU and __read_mostly. Also change some if its dependency headers' includes to use quotes instead of