On 01/20/2012 04:17 AM, Alexander Graf wrote:
+ if ((size_tlb > size_max) || (size_tlb < size_max)) {
You want < size_min, and the extra parentheses look odd.
+ /* set to min size */ + tlb->mas1&= ~MAS1_TSIZE_MASK; + tlb->mas1 |= size_min<< (MAS1_TSIZE_SHIFT + 1); + }