Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262452AbUKQSFH (ORCPT ); Wed, 17 Nov 2004 13:05:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262408AbUKQQkd (ORCPT ); Wed, 17 Nov 2004 11:40:33 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:22179 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S262409AbUKQQkG (ORCPT ); Wed, 17 Nov 2004 11:40:06 -0500 Date: Wed, 17 Nov 2004 17:39:59 +0100 (MET) From: Jan Engelhardt To: "Steffen A. Mork" cc: linux-kernel@vger.kernel.org, akpm@osdl.org Subject: Re: dss1_divert ISDN module compile fix for kernel 2.6.8.1 In-Reply-To: <419B662D.5020904@morknet.de> Message-ID: References: <419B662D.5020904@morknet.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1106 Lines: 28 >when I switched my installation from kernel 2.4 to 2.6 I >recognized that the ISDN module dss1_divert was marked >incompilable (config option CONFIG_CLEAN_COMPILE must >be turned off). The compile problem was the obsolete using >of kernel 2.4 critical sections. I replaced the cli() stuff >with spinlocks as explained in the Documentation/spinlocks.txt >file. After that the module compiles and runs as expected. I had a similar issue, but for me, it only returned a warning rather than a compile error. I posted something similar earlier: http://marc.theaimsgroup.com/?l=linux-kernel&m=109937866706186&w=2 and http://marc.theaimsgroup.com/?l=linux-kernel&m=109943458323994&w=2 plus the latest message I wrote a few secs ago to this list. Jan Engelhardt -- Gesellschaft für Wissenschaftliche Datenverarbeitung Am Fassberg, 37077 Göttingen, www.gwdg.de - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/