Re: [PATCH] 'make headers_install' kbuild target.

From: Arnd Bergmann
Date: Sat Apr 22 2006 - 17:15:05 EST


On Saturday 22 April 2006 17:30, David Woodhouse wrote:
> 1. Identify those files which contain stuff which should be
> user-visible. I've done a first pass of this for arch-independent files
> and asm-powerpc already. We need it done for other architectures.

FWIW, I've just gone through the s390 specific header files in 2.6.17-rc2
to see who is supposed to see them, resulting in

** strictly kernel only:
bug.h extmem.h pgtable.h string.h
bugs.h futex.h processor.h suspend.h
cacheflush.h hardirq.h qdio.h system.h
ccwdev.h idals.h qeth.h thread_info.h
ccwgroup.h io.h rwsem.h timer.h
checksum.h irq.h s390_ext.h tlb.h
cio.h kmap_types.h s390_rdev.h tlbflush.h
compat.h local.h scatterlist.h todclk.h
cpcmd.h lowcore.h sections.h topology.h
cputime.h mathemu.h segment.h uaccess.h
current.h mmu.h semaphore.h unaligned.h
delay.h mmu_context.h setup.h user.h
div64.h mutex.h sfp-machine.h vtoc.h
dma-mapping.h namei.h sigp.h xor.h
dma.h pci.h smp.h
ebcdic.h percpu.h spinlock.h
emergency-restart.h pgalloc.h spinlock_types.h

** have stuff of interest to user space:
cmb.h ioctls.h param.h shmbuf.h sockios.h timex.h
dasd.h ipc.h poll.h shmparam.h stat.h types.h
debug.h ipcbuf.h posix_types.h sigcontext.h statfs.h ucontext.h
errno.h mman.h ptrace.h siginfo.h tape390.h unistd.h
fcntl.h msgbuf.h resource.h signal.h termbits.h
ioctl.h page.h sembuf.h socket.h termios.h

** non-trivial to decide, need to coordinate with other archs:
a.out.h auxvec.h byteorder.h elf.h linkage.h
atomic.h bitops.h cache.h kexec.h module.h

Hope that helps,

Arnd <><
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/