Hi, We developed a device driver for PCI card under SuSe 9.1 with kernel version 2.6.5-7.71. It was working fine in the NON SMP environment. It was compiled and running fine under NON SMP environment(non SMP linux box). We tried to compile it on SMP Linux box with the same SuSe 9.1 having the same kernel version 2.6.5-7.71. We got the following compilation errors. line 897: warning: passing arg 1 of '_raw_spin_lock' from imcompatible pointer type line 1051: error: Invalid type arguement of 'unary *' We have gone through the code at that particular line numbers. In both the places we found the spin lock related information only. The lines were showed below. line 897: spin_lock_irqsave(&tiDev->genFM[uiSocket].blkqueue->queue_lock,flags); line 1051: spin_lock_init(gDisk->qlock); What was the mistake? Any help greatly appreciated. Thanks in advance. Regards, Srinivas G -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/