Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261407AbUCSHMG (ORCPT ); Fri, 19 Mar 2004 02:12:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261703AbUCSHMG (ORCPT ); Fri, 19 Mar 2004 02:12:06 -0500 Received: from [202.125.86.130] ([202.125.86.130]:5582 "EHLO ns2.astrainfonets.net") by vger.kernel.org with ESMTP id S261407AbUCSHMC convert rfc822-to-8bit (ORCPT ); Fri, 19 Mar 2004 02:12:02 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: SMP Makefile errors Content-Transfer-Encoding: 8BIT Date: Fri, 19 Mar 2004 12:37:57 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Message-ID: <1118873EE1755348B4812EA29C55A9721768C9@esnmail.esntechnologies.co.in> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SMP Makefile errors thread-index: AcQNgOhUAkn/5IjZTKKi42vqrCxHqw== From: "Srinivas G." To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1184 Lines: 36 Hi, I compiled a Device Driver in uni-processor environment. It was working fine. The same driver code I compiled in SMP environment. Then, it has given the following errors. In file included from /usr/src/linux-2.4/include/linux/irq.h:69, from /usr/src/linux-2.4/include/asm/hardirq.h:6, from /usr/src/linux-2.4/include/linux/interrupt.h:45, from tiisr.c:13: /usr/src/linux-2.4/include/asm/hw_irq.h: In function `x86_do_profile': /usr/src/linux-2.4/include/asm/hw_irq.h:202: `current' undeclared (first use in this function) /usr/src/linux-2.4/include/asm/hw_irq.h:202: (Each undeclared identifier is reported only once /usr/src/linux-2.4/include/asm/hw_irq.h:202: for each function it appears in.) make: *** [tiisr.o] Error 1 Help me in this regard. What can I do to the existing driver code OR What modifications I have to do in the Makefile. Thanks in advance. ---Srinivas - 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/