On Thu, Sep 07, 2000 at 11:20:13AM +0200, Ralf Baechle wrote:
> The definition should be:
> extern inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot)
> return __pte(physpage) | pgprot_val(pgprot);
> Masking with PAGE_MASK also seemed to be useless.
> It's really surprising why it never has been caught. Probably people
> feed it with the addresses that are tweaked such that sich just work.
> I'll cook up a patch for this bug.
This one has a interesting history in CVS:
date: 1999/07/26 19:42:43; author: harald; state: Exp; lines: +84 -82
The remaining R3000 changes. From now on the CVS will be R3000 aware. R3000
Indigo anyone? :-)
which re-establishes a bug which was fixed by:
date: 1998/08/28 23:24:03; author: tsbogend; state: Exp; lines: +2 -2
fixed MAP_NR() second try:-(
which I introduced in:
date: 1998/08/25 09:21:59; author: ralf; state: Exp; lines: +148 -70
o Merge with Linux 2.1.116.
o New Newport console code.
o New G364 console code.
which got fixed by:
date: 1998/07/13 23:28:18; author: tsbogend; state: Exp; lines: +1 -1
fixed physical mapping
So the original bug is probably as old as the MIPS port itself ...