All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] don't include ioctl32.h in drivers
@ 2005-12-13 17:59 Christoph Hellwig
  2005-12-13 18:01 ` RES: " George Silverio da Silva
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2005-12-13 17:59 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

These days ioctl32.h is only used for communication of fs/compat.c and
fs/compat_ioctl.c and doesn't contain anything of interest to drivers.

Remove inclusion in various drivers.


Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: linux-2.6.15-rc5/arch/s390/kernel/s390_ksyms.c
===================================================================
--- linux-2.6.15-rc5.orig/arch/s390/kernel/s390_ksyms.c	2005-12-13 18:37:57.000000000 +0100
+++ linux-2.6.15-rc5/arch/s390/kernel/s390_ksyms.c	2005-12-13 18:39:04.000000000 +0100
@@ -10,7 +10,6 @@
 #include <linux/smp.h>
 #include <linux/syscalls.h>
 #include <linux/interrupt.h>
-#include <linux/ioctl32.h>
 #include <asm/checksum.h>
 #include <asm/cpcmd.h>
 #include <asm/delay.h>
Index: linux-2.6.15-rc5/arch/x86_64/kernel/x8664_ksyms.c
===================================================================
--- linux-2.6.15-rc5.orig/arch/x86_64/kernel/x8664_ksyms.c	2005-12-13 18:37:57.000000000 +0100
+++ linux-2.6.15-rc5/arch/x86_64/kernel/x8664_ksyms.c	2005-12-13 18:38:11.000000000 +0100
@@ -13,7 +13,6 @@
 #include <linux/string.h>
 #include <linux/syscalls.h>
 #include <linux/tty.h>
-#include <linux/ioctl32.h>
 
 #include <asm/semaphore.h>
 #include <asm/processor.h>
Index: linux-2.6.15-rc5/drivers/char/drm/drm_ioc32.c
===================================================================
--- linux-2.6.15-rc5.orig/drivers/char/drm/drm_ioc32.c	2005-12-13 18:37:57.000000000 +0100
+++ linux-2.6.15-rc5/drivers/char/drm/drm_ioc32.c	2005-12-13 18:38:13.000000000 +0100
@@ -28,7 +28,6 @@
  * IN THE SOFTWARE.
  */
 #include <linux/compat.h>
-#include <linux/ioctl32.h>
 
 #include "drmP.h"
 #include "drm_core.h"
Index: linux-2.6.15-rc5/drivers/char/drm/i915_ioc32.c
===================================================================
--- linux-2.6.15-rc5.orig/drivers/char/drm/i915_ioc32.c	2005-12-13 18:37:57.000000000 +0100
+++ linux-2.6.15-rc5/drivers/char/drm/i915_ioc32.c	2005-12-13 18:38:15.000000000 +0100
@@ -30,7 +30,6 @@
  * IN THE SOFTWARE.
  */
 #include <linux/compat.h>
-#include <linux/ioctl32.h>
 
 #include "drmP.h"
 #include "drm.h"
Index: linux-2.6.15-rc5/drivers/char/drm/mga_ioc32.c
===================================================================
--- linux-2.6.15-rc5.orig/drivers/char/drm/mga_ioc32.c	2005-12-13 18:37:57.000000000 +0100
+++ linux-2.6.15-rc5/drivers/char/drm/mga_ioc32.c	2005-12-13 18:38:17.000000000 +0100
@@ -31,7 +31,6 @@
  * IN THE SOFTWARE.
  */
 #include <linux/compat.h>
-#include <linux/ioctl32.h>
 
 #include "drmP.h"
 #include "drm.h"
Index: linux-2.6.15-rc5/drivers/char/drm/r128_ioc32.c
===================================================================
--- linux-2.6.15-rc5.orig/drivers/char/drm/r128_ioc32.c	2005-12-13 18:37:57.000000000 +0100
+++ linux-2.6.15-rc5/drivers/char/drm/r128_ioc32.c	2005-12-13 18:38:19.000000000 +0100
@@ -30,7 +30,6 @@
  * IN THE SOFTWARE.
  */
 #include <linux/compat.h>
-#include <linux/ioctl32.h>
 
 #include "drmP.h"
 #include "drm.h"
Index: linux-2.6.15-rc5/drivers/char/drm/radeon_ioc32.c
===================================================================
--- linux-2.6.15-rc5.orig/drivers/char/drm/radeon_ioc32.c	2005-12-13 18:37:57.000000000 +0100
+++ linux-2.6.15-rc5/drivers/char/drm/radeon_ioc32.c	2005-12-13 18:38:21.000000000 +0100
@@ -28,7 +28,6 @@
  * IN THE SOFTWARE.
  */
 #include <linux/compat.h>
-#include <linux/ioctl32.h>
 
 #include "drmP.h"
 #include "drm.h"
Index: linux-2.6.15-rc5/drivers/ieee1394/amdtp.c
===================================================================
--- linux-2.6.15-rc5.orig/drivers/ieee1394/amdtp.c	2005-12-13 18:37:58.000000000 +0100
+++ linux-2.6.15-rc5/drivers/ieee1394/amdtp.c	2005-12-13 18:38:23.000000000 +0100
@@ -80,7 +80,6 @@
 #include <linux/pci.h>
 #include <linux/interrupt.h>
 #include <linux/poll.h>
-#include <linux/ioctl32.h>
 #include <linux/compat.h>
 #include <linux/cdev.h>
 #include <asm/uaccess.h>
Index: linux-2.6.15-rc5/drivers/ieee1394/dv1394.c
===================================================================
--- linux-2.6.15-rc5.orig/drivers/ieee1394/dv1394.c	2005-12-13 18:37:58.000000000 +0100
+++ linux-2.6.15-rc5/drivers/ieee1394/dv1394.c	2005-12-13 18:38:25.000000000 +0100
@@ -108,7 +108,6 @@
 #include <linux/types.h>
 #include <linux/vmalloc.h>
 #include <linux/string.h>
-#include <linux/ioctl32.h>
 #include <linux/compat.h>
 #include <linux/cdev.h>
 
Index: linux-2.6.15-rc5/drivers/ieee1394/video1394.c
===================================================================
--- linux-2.6.15-rc5.orig/drivers/ieee1394/video1394.c	2005-12-13 18:37:58.000000000 +0100
+++ linux-2.6.15-rc5/drivers/ieee1394/video1394.c	2005-12-13 18:38:27.000000000 +0100
@@ -48,7 +48,6 @@
 #include <linux/vmalloc.h>
 #include <linux/timex.h>
 #include <linux/mm.h>
-#include <linux/ioctl32.h>
 #include <linux/compat.h>
 #include <linux/cdev.h>
 
Index: linux-2.6.15-rc5/drivers/message/fusion/mptctl.c
===================================================================
--- linux-2.6.15-rc5.orig/drivers/message/fusion/mptctl.c	2005-12-13 18:37:58.000000000 +0100
+++ linux-2.6.15-rc5/drivers/message/fusion/mptctl.c	2005-12-13 18:38:30.000000000 +0100
@@ -2585,8 +2585,6 @@
 
 #ifdef CONFIG_COMPAT
 
-#include <linux/ioctl32.h>
-
 static int
 compat_mptfwxfer_ioctl(struct file *filp, unsigned int cmd,
 			unsigned long arg)
Index: linux-2.6.15-rc5/drivers/s390/crypto/z90main.c
===================================================================
--- linux-2.6.15-rc5.orig/drivers/s390/crypto/z90main.c	2005-12-13 18:37:58.000000000 +0100
+++ linux-2.6.15-rc5/drivers/s390/crypto/z90main.c	2005-12-13 18:38:32.000000000 +0100
@@ -30,7 +30,6 @@
 #include <linux/delay.h>       // mdelay
 #include <linux/init.h>
 #include <linux/interrupt.h>   // for tasklets
-#include <linux/ioctl32.h>
 #include <linux/miscdevice.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>
Index: linux-2.6.15-rc5/drivers/scsi/aacraid/linit.c
===================================================================
--- linux-2.6.15-rc5.orig/drivers/scsi/aacraid/linit.c	2005-12-13 18:37:58.000000000 +0100
+++ linux-2.6.15-rc5/drivers/scsi/aacraid/linit.c	2005-12-13 18:38:35.000000000 +0100
@@ -46,7 +46,6 @@
 #include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <linux/syscalls.h>
-#include <linux/ioctl32.h>
 #include <linux/delay.h>
 #include <linux/smp_lock.h>
 #include <asm/semaphore.h>
Index: linux-2.6.15-rc5/drivers/scsi/ch.c
===================================================================
--- linux-2.6.15-rc5.orig/drivers/scsi/ch.c	2005-12-13 18:37:58.000000000 +0100
+++ linux-2.6.15-rc5/drivers/scsi/ch.c	2005-12-13 18:38:37.000000000 +0100
@@ -20,7 +20,6 @@
 #include <linux/interrupt.h>
 #include <linux/blkdev.h>
 #include <linux/completion.h>
-#include <linux/ioctl32.h>
 #include <linux/compat.h>
 #include <linux/chio.h>			/* here are all the ioctls */
 
Index: linux-2.6.15-rc5/drivers/scsi/megaraid/megaraid_mm.h
===================================================================
--- linux-2.6.15-rc5.orig/drivers/scsi/megaraid/megaraid_mm.h	2005-12-13 18:37:58.000000000 +0100
+++ linux-2.6.15-rc5/drivers/scsi/megaraid/megaraid_mm.h	2005-12-13 18:38:39.000000000 +0100
@@ -22,7 +22,6 @@
 #include <linux/moduleparam.h>
 #include <linux/pci.h>
 #include <linux/list.h>
-#include <linux/ioctl32.h>
 
 #include "mbox_defs.h"
 #include "megaraid_ioctl.h"
Index: linux-2.6.15-rc5/fs/xfs/linux-2.6/xfs_ioctl32.c
===================================================================
--- linux-2.6.15-rc5.orig/fs/xfs/linux-2.6/xfs_ioctl32.c	2005-12-13 18:37:58.000000000 +0100
+++ linux-2.6.15-rc5/fs/xfs/linux-2.6/xfs_ioctl32.c	2005-12-13 18:39:00.000000000 +0100
@@ -19,7 +19,6 @@
 #include <linux/compat.h>
 #include <linux/init.h>
 #include <linux/ioctl.h>
-#include <linux/ioctl32.h>
 #include <linux/syscalls.h>
 #include <linux/types.h>
 #include <linux/fs.h>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RES: [PATCH] don't include ioctl32.h in drivers
  2005-12-13 17:59 [PATCH] don't include ioctl32.h in drivers Christoph Hellwig
@ 2005-12-13 18:01 ` George Silverio da Silva
  2005-12-13 20:07   ` Jesper Juhl
  0 siblings, 1 reply; 3+ messages in thread
From: George Silverio da Silva @ 2005-12-13 18:01 UTC (permalink / raw)
  To: linux-kernel

Helo guys...

 

I'm new here...

And I'm happy for this
We need some help, and maybe we are looking in the wrong place...

We are compiling the 2.6.14 Kernel for a HP Proliant DL380 G4 that has a
Smart Array 6i Controller.

We would like to know wich Kernel modules we need to add to have support for
this controller.

Another question: In the Slackware Distro that we have been installed, the
system recognizes just 882Mb of Memory (The system has 2Gb)

Will compiling Kernel 2.6.14 with this RAID support and Highmem Module
enabled solve these problems??

Thanks for all.

PS: sorry my bad english... i need to learn more....uhauauh

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-
 
George Silverio da Silva
Security Consultant
BBCENTER LTDA
tel +55 41 32332266
cel +55 41 84059704



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] don't include ioctl32.h in drivers
  2005-12-13 18:01 ` RES: " George Silverio da Silva
@ 2005-12-13 20:07   ` Jesper Juhl
  0 siblings, 0 replies; 3+ messages in thread
From: Jesper Juhl @ 2005-12-13 20:07 UTC (permalink / raw)
  To: George Silverio da Silva; +Cc: linux-kernel

On 12/13/05, George Silverio da Silva <george@bbcenter.com.br> wrote:
> Helo guys...
>
>
>
> I'm new here...
>
> And I'm happy for this
> We need some help, and maybe we are looking in the wrong place...
>
> We are compiling the 2.6.14 Kernel for a HP Proliant DL380 G4 that has a
> Smart Array 6i Controller.
>
> We would like to know wich Kernel modules we need to add to have support for
> this controller.
>

from drivers/block/Kconfig :

config BLK_CPQ_CISS_DA
        tristate "Compaq Smart Array 5xxx support"
        depends on PCI
        help
          This is the driver for Compaq Smart Array 5xxx controllers.
          Everyone using these boards should say Y here.
          See <file:Documentation/cciss.txt> for the current list of
          boards supported by this driver, and for further information
          on the use of this driver.


> Another question: In the Slackware Distro that we have been installed, the
> system recognizes just 882Mb of Memory (The system has 2Gb)
>
Yes, you need HIGHMEM enabled to see/use all the RAM and the standard
Slackware kernel does not have HIGHMEN enabled.
That explains the 882MB of RAM.


> Will compiling Kernel 2.6.14 with this RAID support and Highmem Module
> enabled solve these problems??
>
It should.

Btw: usually a very fast way to find answers to such questions is to
"just try it" and then you'll know :-)


--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-12-13 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-13 17:59 [PATCH] don't include ioctl32.h in drivers Christoph Hellwig
2005-12-13 18:01 ` RES: " George Silverio da Silva
2005-12-13 20:07   ` Jesper Juhl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.