Re: [PATCH] register_ioctl32_conversion symbol exports fix

Andres Salomon (dilinger@voxel.net)
28 May 2003 04:05:28 -0400


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-4406-1054109463-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Oops, sorry. One of these days, I will find an NNTP client that suck..

On Wed, 2003-05-28 at 03:47, Adrian Bunk wrote:
> On Wed, May 28, 2003 at 01:45:33AM -0400, Andres Salomon wrote:
> >...
> > altogether from the arch-specific stuff; so, that's what this patch does
> > (to both {,un}register_ioctl32_conversion). Please apply (or correct me
> >...
>
> -ENOPATCH
>
> cu
> Adrian

--=_courier-4406-1054109463-0001-2
Content-Type: text/x-patch; name="ioctl32.diff"; charset="ansi_x3.4-1968"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=ioctl32.diff

diff -urN a/arch/ppc64/kernel/ppc_ksyms.c b/arch/ppc64/kernel/ppc_ksyms.c
--- a/arch/ppc64/kernel/ppc_ksyms.c 2003-05-26 21:00:25.000000000 -0400
+++ b/arch/ppc64/kernel/ppc_ksyms.c 2003-05-28 01:15:26.000000000 -0400
@@ -49,8 +49,6 @@

extern int sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg);
extern int do_signal(sigset_t *, struct pt_regs *);
-extern int register_ioctl32_conversion(unsigned int cmd, int (*handler)(unsigned int, unsigned int, unsigned long, struct file *));
-extern int unregister_ioctl32_conversion(unsigned int cmd);

int abs(int);

@@ -66,9 +64,6 @@
EXPORT_SYMBOL(synchronize_irq);
#endif /* CONFIG_SMP */

-EXPORT_SYMBOL(register_ioctl32_conversion);
-EXPORT_SYMBOL(unregister_ioctl32_conversion);
-
EXPORT_SYMBOL(isa_io_base);
EXPORT_SYMBOL(pci_io_base);

diff -urN a/arch/sparc64/kernel/sparc64_ksyms.c b/arch/sparc64/kernel/sparc64_ksyms.c
--- a/arch/sparc64/kernel/sparc64_ksyms.c 2003-05-26 21:00:46.000000000 -0400
+++ b/arch/sparc64/kernel/sparc64_ksyms.c 2003-05-28 01:14:54.000000000 -0400
@@ -94,8 +94,6 @@
extern int compat_sys_ioctl(unsigned int fd, unsigned int cmd, u32 arg);
extern int (*handle_mathemu)(struct pt_regs *, struct fpustate *);
extern long sparc32_open(const char * filename, int flags, int mode);
-extern int register_ioctl32_conversion(unsigned int cmd, int (*handler)(unsigned int, unsigned int, unsigned long, struct file *));
-extern int unregister_ioctl32_conversion(unsigned int cmd);
extern int io_remap_page_range(struct vm_area_struct *vma, unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot, int space);

extern int __ashrdi3(int, int);
@@ -234,10 +232,6 @@
EXPORT_SYMBOL(pci_dma_supported);
#endif

-/* IOCTL32 emulation hooks. */
-EXPORT_SYMBOL(register_ioctl32_conversion);
-EXPORT_SYMBOL(unregister_ioctl32_conversion);
-
/* I/O device mmaping on Sparc64. */
EXPORT_SYMBOL(io_remap_page_range);

--=_courier-4406-1054109463-0001-2--