Re: [FIX REQUEST] Need better management for include/linux/*.h

From: Avi Kivity
Date: Sun Jul 12 2009 - 03:58:49 EST


On 07/11/2009 12:18 PM, Jaswinder Singh Rajput wrote:
Hello all,

As include/linux/*.h file count is going to reach 1000.

We need to do some better techniques to reduce the number of files and
add some hierarchy levels like sub directories where possible.

Like atmel is not exporting to user-space we can easily do :

include/linux/atmel-mci.h -> include/linux/atmel/mci.h
include/linux/atmel_pdc.h -> include/linux/atmel/pdc.h
include/linux/atmel-pwm-bl.h -> include/linux/atmel/pwm-bl.h
include/linux/atmel_pwm.h -> include/linux/atmel/pwm.h
include/linux/atmel_serial.h -> include/linux/atmel/serial.h
include/linux/atmel-ssc.h -> include/linux/atmel/ssc.h
include/linux/atmel_tc.h -> include/linux/atmel/tc.h

Also these files are not exporting :

include/linux/kvm_host.h -> include/linux/kvm/host.h
include/linux/kvm_para.h -> include/linux/kvm/para.h
include/linux/kvm_types.h -> include/linux/kvm/types.h


IMO a much better move is to place non-ABI files (and the #ifdef KERNEL parts of ABI files) outside include/linux.


--
error compiling committee.c: too many arguments to function

--
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/