Re: [GIT PULL] headers_check fixes

Jaswinder Singh Rajput
2009-06-06T13:35:21Z

On Sat, 2009-06-06 at 14:02 +0100, Russell King wrote:
> On Sat, Jun 06, 2009 at 06:24:17PM +0530, Jaswinder Singh Rajput wrote:
> > Linus,
> >
> > Please pull headers_check fixes:
> >
> > The following changes since commit 064e38aaded5269e573ac1c765284fd65c8ebd13:
> > Linus Torvalds (1):
> > Merge git://git.kernel.org/.../mason/btrfs-unstable
> >
> > are available in the git repository at:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/headers-check-2.6.git master
> >
> > Jaswinder Singh Rajput (6):
> > headers_check fix: arm, hwcap.h
>
> So inspite of NAKing this patch you send it anyway.
>

Earlier it was already like this, because of Catalin Marinas
fault (commit f884b1cf578e0) and your ignorance you converted :

#ifdef __KERNEL__
#ifndef __ASSEMBLY__

to :

#if defined(__KERNEL__) && !defined(__ASSEMBLY__)

I am just trying to rectify your mistake that __KERNEL__ should not be
used with other defines to easily export headers to userspace. Whole
kernel header files are following this protocol. Sam, Arnd and me are
trying to convince you. Why you need an exception ?

Thanks,
--
JSR