From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [FIX REQUEST] Need better management for include/linux/*.h Date: Sun, 12 Jul 2009 11:00:32 +0300 Message-ID: <4A599820.9030905@redhat.com> References: <1247303928.2678.46.camel@ht.satnam> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: nicolas.ferre@atmel.com, hskinnemoen@atmel.com, kvm , LKML To: Jaswinder Singh Rajput Return-path: Received: from mx2.redhat.com ([66.187.237.31]:57900 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751339AbZGLH6i (ORCPT ); Sun, 12 Jul 2009 03:58:38 -0400 In-Reply-To: <1247303928.2678.46.camel@ht.satnam> Sender: kvm-owner@vger.kernel.org List-ID: 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