lkml.org 
[lkml]   [2003]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    SubjectRe: [PATCH] register_ioctl32_conversion symbol exports fix
    From
    Date
    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
    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);
    \
     
     \ /
      Last update: 2005-03-22 13:35    [W:0.028 / U:87.148 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site