linux-stable/arch/sparc/mm
David S. Miller a5a737e090 sparc64: Do not clobber %g2 in xcall_fetch_glob_regs().
%g2 is meant to hold the CPUID number throughout this routine, since
at the very beginning, and at the very end, we use %g2 to calculate
indexes into per-cpu arrays.

However we erroneously clobber it in order to hold the %cwp register
value mid-stream.

Fix this code to use %g3 for the %cwp read and related calulcations
instead.

Reported-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-05-10 11:00:46 -07:00
..
btfixup.c Disintegrate asm/system.h for Sparc 2012-03-28 18:30:03 +01:00
extable.c sparc: Add module.h to files previously implicitly using it. 2011-10-31 19:30:54 -04:00
fault_32.c sparc/mm/fault_32.c: Port OOM changes to do_sparc_fault 2012-04-04 15:42:24 -07:00
fault_64.c sparc/mm/fault_64.c: Port OOM changes to do_sparc64_fault 2012-04-04 15:42:24 -07:00
gup.c thp: share get_huge_page_tail() 2011-11-02 16:06:58 -07:00
highmem.c highmem: kill all __kmap_atomic() 2012-03-20 21:48:30 +08:00
hugetlbpage.c sparc: remove several unnecessary module.h include instances 2011-10-31 19:30:54 -04:00
hypersparc.S sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
init_32.c Disintegrate asm/system.h for Sparc 2012-03-28 18:30:03 +01:00
init_64.c Disintegrate asm/system.h for Sparc 2012-03-28 18:30:03 +01:00
init_64.h Move all declarations of free_initmem() to linux/mm.h 2012-03-28 18:30:03 +01:00
io-unit.c sparc: remove references to of_device and to_of_device 2010-07-24 09:58:22 -06:00
iommu.c Merge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6 2010-08-05 15:57:35 -07:00
leon_mm.c sparc32,leon: SRMMU MMU Table probe fix 2011-10-07 12:08:01 -07:00
loadmmu.c Disintegrate asm/system.h for Sparc 2012-03-28 18:30:03 +01:00
Makefile sparc: Kill custom io_remap_pfn_range(). 2011-11-17 18:17:59 -08:00
nosun4c.c MM: Pass a PTE pointer to update_mmu_cache() rather than the PTE itself 2010-02-20 16:41:46 +00:00
srmmu.c sparc: Remove unnecessary semicolons 2011-06-07 16:06:34 -07:00
sun4c.c sparc: Remove unnecessary semicolons 2011-06-07 16:06:34 -07:00
swift.S sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
tlb.c sparc: mmu_gather rework 2011-05-25 08:39:13 -07:00
tsb.c Disintegrate asm/system.h for Sparc 2012-03-28 18:30:03 +01:00
tsunami.S sparc/mm/: possible cleanups 2008-07-17 21:38:01 -07:00
ultra.S sparc64: Do not clobber %g2 in xcall_fetch_glob_regs(). 2012-05-10 11:00:46 -07:00
viking.S sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00