lkml.org 
[lkml]   [2004]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectcompiling for SMP!
Date
From
Hi all,

I have a device driver that compiles fine on the uni-processor
environment.
INCDIR=/usr/src/linux-2.4/include.

I was trying to compile the same module in SMP machine with -D__SMP__
-DCONFIG_SMP flags extra for CFLAGS
in the Makefile, but I end up with compilation error! Following is the
error..

In file Included from /usr/src/linux-2.4/include/asm/hw_irq.h In
function x86_do_profile:
Current undeclared.

I included linux/interrupt.h in my source file.

What could be the problem? Are there some other flags I should use for
compilation in SMP machine?

Any pointers on this would be of great help!

Thanks in advance
Chandu!


-
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/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.112 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site