Hi Abhinav, > It always returns zero and hence any access to > it crashes the > system stating null pointer reference declare the variable _X_ as _extern_ in your second module, HTH Rupesh -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/