2.1.92-pre1 breaks isdn (+ patch)

Itai Nahshon (nahshon@actcom.co.il)
Sat, 28 Mar 1998 16:53:16 +0300


This is a multi-part message in MIME format.
--------------E5791C8CFE1A425086FA5F83
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Linus, please apply this patch to linux-2.1.92-pre1.

1. Export __cpu_logical_map and smp_num_cpus. These are missing
since kernel 2.1.82 or earlier. AFAIK used only by ISDN.

2. Export skb_queue_lock. Added in 2.1.91. User by ISDN and by
some other network modules.

3. Undelete definition of SC_ENABLE_IP in if_ppp.h. Used by
isdn_ppp. (deleted in prepatch-2.1.92-1).

Thank you very much,
Itai

-- 
Itai Nahshon   nahshon@actcom.co.il
        Also   nahshon@vnet.ibm.com
--------------E5791C8CFE1A425086FA5F83
Content-Type: text/plain; charset=us-ascii; name="patch-isdn-2.1.92-pre1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="patch-isdn-2.1.92-pre1"

diff -r -u linux-2.1.92-pre1-orig/arch/i386/kernel/i386_ksyms.c linux-2.1.92-pre1/arch/i386/kernel/i386_ksyms.c --- linux-2.1.92-pre1-orig/arch/i386/kernel/i386_ksyms.c Wed Mar 18 07:15:40 1998 +++ linux-2.1.92-pre1/arch/i386/kernel/i386_ksyms.c Fri Mar 27 21:34:09 1998 @@ -65,6 +65,7 @@ #ifdef __SMP__ EXPORT_SYMBOL(apic_reg); /* Needed internally for the I386 inlines */ +EXPORT_SYMBOL(__cpu_logical_map); EXPORT_SYMBOL(cpu_data); EXPORT_SYMBOL_NOVERS(kernel_flag); EXPORT_SYMBOL_NOVERS(active_kernel_processor); diff -r -u linux-2.1.92-pre1-orig/include/linux/if_ppp.h linux-2.1.92-pre1/include/linux/if_ppp.h --- linux-2.1.92-pre1-orig/include/linux/if_ppp.h Sat Mar 28 16:31:36 1998 +++ linux-2.1.92-pre1/include/linux/if_ppp.h Sat Mar 28 16:13:16 1998 @@ -65,6 +65,7 @@ #define SC_REJ_COMP_TCP 0x00000020 /* reject TCP (VJ) comp. on input */ #define SC_CCP_OPEN 0x00000040 /* Look at CCP packets */ #define SC_CCP_UP 0x00000080 /* May send/recv compressed packets */ +#define SC_ENABLE_IP 0x00000100 /* IP packets may be exchanged */ #define SC_COMP_RUN 0x00001000 /* compressor has been inited */ #define SC_DECOMP_RUN 0x00002000 /* decompressor has been inited */ #define SC_DEBUG 0x00010000 /* enable debug messages */ diff -r -u linux-2.1.92-pre1-orig/kernel/ksyms.c linux-2.1.92-pre1/kernel/ksyms.c --- linux-2.1.92-pre1-orig/kernel/ksyms.c Wed Mar 11 00:43:13 1998 +++ linux-2.1.92-pre1/kernel/ksyms.c Fri Mar 27 21:34:09 1998 @@ -302,6 +302,7 @@ EXPORT_SYMBOL(timer_table); #ifdef __SMP__ +EXPORT_SYMBOL(smp_num_cpus); /* Various random spinlocks we want to export */ EXPORT_SYMBOL(tqueue_lock); EXPORT_SYMBOL(waitqueue_lock); diff -r -u linux-2.1.92-pre1-orig/net/netsyms.c linux-2.1.92-pre1/net/netsyms.c --- linux-2.1.92-pre1-orig/net/netsyms.c Sat Mar 28 16:31:23 1998 +++ linux-2.1.92-pre1/net/netsyms.c Fri Mar 27 23:12:28 1998 @@ -120,6 +120,7 @@ EXPORT_SYMBOL(net_families); EXPORT_SYMBOL(sock_kmalloc); EXPORT_SYMBOL(sock_kfree_s); +EXPORT_SYMBOL(skb_queue_lock); #ifdef CONFIG_FILTER EXPORT_SYMBOL(sk_run_filter);

--------------E5791C8CFE1A425086FA5F83--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu