Skip to content

'make headers_check' fixes for 2.6.18

David Woodhouse lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Reduce user-visible noise in <linux/nfs_fs.h>include/linux/nfs_fs.h+26 -260 replies
2/6Remove <asm/timex.h> from user exportinclude/asm-generic/Kbuild.asm include/linux/timex.h+3 -20 replies
3/6Move inclusion of <linux/linkage.h> in <asm-i386/signal.h>include/asm-i386/signal.h+3 -10 replies
4/6Move kernel-only #includes within <asm-i386/elf.h>include/asm-i386/elf.h+6 -40 replies
5/6Don't expose PFN stuff to userspace in <asm-i386/setup.h>include/asm-i386/Kbuild include/asm-i386/setup.h+4 -20 replies
6/6Fix userspace build of asm-mips/page.hinclude/asm-mips/page.h+2 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [0/6] 'make headers_check' fixes for 2.6.18

Our implementation of 'make headers_check' is currently _extremely_ simple -- all it does is check that none of the exported header files are trying to include other header files which aren't also exported.

Mostly, this happens when the unexported headers aren't actually needed from the user-visible part of the file which includes them. The fix is usually to move the #include so that it sits inside the #ifdef __KERNEL__ where it's actually used. A few minor fixes follow, to fix 'make headers_check' in 2.6.18 at least for selected architectures...

Signature · 1 line
dwmw2