Re: [arc-linux-dev] Re: UAPI for new arches (was Re: [GIT PULL] User API Disintegrate: Preparatory patches)

2012-11-14 Thread David Howells
James Hogan wrote: > The disintegration scripts strip out the #ifdef __KERNEL__ from the > headers in both uapi/ and the old directories. However there are still a > bunch of unexported headers through the tree which have #ifdef > __KERNEL__ in them, usually guarding the entire file (just grep >

Re: [arc-linux-dev] Re: UAPI for new arches (was Re: [GIT PULL] User API Disintegrate: Preparatory patches)

2012-11-14 Thread James Hogan
Hi David, The disintegration scripts strip out the #ifdef __KERNEL__ from the headers in both uapi/ and the old directories. However there are still a bunch of unexported headers through the tree which have #ifdef __KERNEL__ in them, usually guarding the entire file (just grep __KERNEL__ in

Re: [arc-linux-dev] Re: UAPI for new arches (was Re: [GIT PULL] User API Disintegrate: Preparatory patches)

2012-11-14 Thread James Hogan
Hi David, The disintegration scripts strip out the #ifdef __KERNEL__ from the headers in both uapi/ and the old directories. However there are still a bunch of unexported headers through the tree which have #ifdef __KERNEL__ in them, usually guarding the entire file (just grep __KERNEL__ in

Re: [arc-linux-dev] Re: UAPI for new arches (was Re: [GIT PULL] User API Disintegrate: Preparatory patches)

2012-11-14 Thread David Howells
James Hogan james.ho...@imgtec.com wrote: The disintegration scripts strip out the #ifdef __KERNEL__ from the headers in both uapi/ and the old directories. However there are still a bunch of unexported headers through the tree which have #ifdef __KERNEL__ in them, usually guarding the entire

Re: [arc-linux-dev] Re: UAPI for new arches (was Re: [GIT PULL] User API Disintegrate: Preparatory patches)

2012-11-12 Thread David Howells
Vineet Gupta wrote: > >> Per you email from last week, When I ran the disintergrate-one.pl script > >> myself I saw a whole bunch of empty UAPI files being generated with > >> references in orig header. I'm not sure what I'm doing wrong. > > Can you give an example of such a header? > > tlb.h

Re: [arc-linux-dev] Re: UAPI for new arches (was Re: [GIT PULL] User API Disintegrate: Preparatory patches)

2012-11-12 Thread Vineet Gupta
On Friday 09 November 2012 04:49 AM, David Howells wrote: > Vineet Gupta wrote: > >> While I'd done some of the prep work in my code such as splitting __KERNEL__ >> && __ASSEMBLY__ into two separate lines, majority of orig headers didn't >> have #ifdef __KERNEL__ guard despite the code not being

Re: [arc-linux-dev] Re: UAPI for new arches (was Re: [GIT PULL] User API Disintegrate: Preparatory patches)

2012-11-12 Thread Vineet Gupta
On Friday 09 November 2012 04:49 AM, David Howells wrote: Vineet Gupta vineet.gup...@synopsys.com wrote: While I'd done some of the prep work in my code such as splitting __KERNEL__ __ASSEMBLY__ into two separate lines, majority of orig headers didn't have #ifdef __KERNEL__ guard despite the

Re: [arc-linux-dev] Re: UAPI for new arches (was Re: [GIT PULL] User API Disintegrate: Preparatory patches)

2012-11-12 Thread David Howells
Vineet Gupta vineet.gup...@synopsys.com wrote: Per you email from last week, When I ran the disintergrate-one.pl script myself I saw a whole bunch of empty UAPI files being generated with references in orig header. I'm not sure what I'm doing wrong. Can you give an example of such a