[lkml]   [2000]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Question: Using floating point in the kernel
Date (Michael Vines) writes:

> I was just wondering if you can use floating point while servicing a
> syscall in the kernel? Doing a
> find -name \*.c -exec grep float {} \; -print
> turned up a couple drivers that seem to be using fp. Are there any
> known issues that I should to be aware off?

You can not use floating point in the kernel, for the reasons
Richard gave you.

That said, after some checking I actually did find two offenders that
generate floating point instructions in 2.4.0-test6.

These are:
drivers/video/sgivwfb.c and
(authors cc:ed)

Marcus Sundberg | Phone: +46 707 452062
Embedded Systems Consultant | Email:
Cendio Systems AB |
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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