aksingh@hss.hns.com writes: > Hi, > > So I can use a float in kernel modules right, if i use an expression, > > float some_float=some_int * some_int/some_int;, > > it isnt a problem, correct ??? Unless something has changed, it is a problem. The floating point registers aren't saved when entering the kernel, nor are they restored when leaving the kernel, so unless you're prepared to do that yourself, you shouldn't use floating point. -- --Ed L Cashin | PGP public key: ecashin@uga.edu | http://noserose.net/e/pgp/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/