]> git.baikalelectronics.ru Git - kernel.git/commit
UAPI: x86: Fix the test_get_len tool
authorDavid Howells <dhowells@redhat.com>
Tue, 2 Oct 2012 17:01:56 +0000 (18:01 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 2 Oct 2012 17:01:56 +0000 (18:01 +0100)
commitddf9620f56b4c6ff00e77e575fdd4327db0354d7
tree0b5a5bdef87d73f08ae22137ae58b246e153dc4a
parent3ea68ad490a197cd9c26804136ed7cefcc64baf0
UAPI: x86: Fix the test_get_len tool

Fix the x86 test_get_len tool to have the right include paths in the right
order (it includes a non-exported kernel header directly), otherwise errors
like the following occur:

/data/fs/linux-2.6-hdr/include/linux/types.h:18:26: error: conflicting types for 'fd_set'
/usr/include/sys/select.h:78:5: note: previous declaration of 'fd_set' was here

and

/data/fs/linux-2.6-hdr/include/linux/string.h:42:12: error: expected identifier or '(' before '__extension__'

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
arch/x86/tools/Makefile