A few bugfixes

2000-11-03 Thread Ian Abbott
I wrote: > "epicom" wrote: > > > I have found several bugs in versions 2.4.0-test*, I don't > > know if they > > exist > > in 2.2.* versions, but it is posible. > > The first two (of three) do. > > The first one: > > >> return(((unsigned long)(pte_val(*pte)) & PAGE_MASK) | (address & > > ~(PAGE

A few bugfixes

2000-11-02 Thread Ian Abbott
"epicom" wrote: > I have found several bugs in versions 2.4.0-test*, I don't > know if they > exist > in 2.2.* versions, but it is posible. The first two (of three) do. The first one: > >> return(((unsigned long)(pte_val(*pte)) & PAGE_MASK) | (address & > ~(PAGE_MASK-1))); is logically wrong

A few bugfixes

2000-11-02 Thread epicom
I have found several bugs in versions 2.4.0-test*, I don't know if they exist in 2.2.* versions, but it is posible. 1- file arch/ppc/mm/fault.c, function va_to_phys: >> return(((unsigned long)(pte_val(*pte)) & PAGE_MASK) | (address & ~(PAGE_MASK-1))); ^ (PAGE_MASK-1) is buggy,