On Sunday 18 October 2009 13:25:14 Lance Hepler wrote:
> I have tried the latest wireless-testing and 2.6.32-rc5 and they both
> still give DMA errors exactly like those I reported earlier. Perhaps
> it's because the machine only has 1GB of RAM, and is an Atom compiled
> with "-march=core2 -mtune=generic -mfpmath=sse" CFLAGS? (At least,
> that's what I pass to make. I don't know how the kernel build system
> filters these flags..).


A simple rule for modifying CFLAGS in the kernel is: Don't!

The kernel developers _already_ tuned the CFLAGS to the best possible gain,
so by further modifying the flags you just introduce bugs and miscompilations.
And besides that, the kernel doesn't use floating point, so the -mfpmath=sse
will do no good and has potential for miscompilations.

It's unlikely that this causes your issues, but it's a general rule.
It's also a good idea to obey the "Don't!" rule for userspace programs.
It's just placebo.

-- 
Greetings, Michael.
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to