mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 05:50:19 +00:00
0487de9142
The JMPRS register on Malta boards keeps a 32-bit CPU-endian value. The readw() function assumes that the value it reads is a little-endian 16-bit number. Therefore, using readw() to obtain the value of the JMPRS register is a mistake. This error leads to incorrect reading of the PCI clock frequency on big-endian during board start-up. Change readw() to __raw_readl(). This was tested by injecting a call to printk() and verifying that the value of the jmpr variable was consistent with current setting of the JP4 "PCI CLK" jumper. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> |
||
---|---|---|
.. | ||
au1000 | ||
basler/excite | ||
bcm47xx | ||
boot | ||
cobalt | ||
configs | ||
dec | ||
emma2rh | ||
fw | ||
gt64120/wrppmc | ||
jazz | ||
jmr3927 | ||
kernel | ||
lasat | ||
lemote/lm2e | ||
lib | ||
math-emu | ||
mips-boards | ||
mipssim | ||
mm | ||
oprofile | ||
pci | ||
philips/pnx8550 | ||
pmc-sierra | ||
qemu | ||
sgi-ip22 | ||
sgi-ip27 | ||
sgi-ip32 | ||
sibyte | ||
sni | ||
tx4927 | ||
tx4938 | ||
vr41xx | ||
defconfig | ||
Kconfig | ||
Kconfig.debug | ||
Makefile |