lkml.org 
[lkml]   [1998]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [BUGFIX]: 2.1.117 has a small bug
From
Date
David Howells <dwh@nexor.co.uk> writes:

> Otherwise the 'constantness' of the bit number is keyed upon, rather than the
> addressed location.

Uhm, take another look at the code...AFAICT, that's the idea.
(When nr is a compile-time constant between 0 and 31, the code
essentially reduces to

return (*addr & C) != 0

where C is another compile-time constant.)

--
Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

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