From: Anton Blanchard Date: Mon, 8 Jan 2007 15:43:02 +0000 (+1100) Subject: [POWERPC] Fix bugs in the hypervisor call stats code X-Git-Tag: v2.6.20-rc5~35^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc40127ca5c6e1da48d2b5f9d0c65b5795faac12;p=pandora-kernel.git [POWERPC] Fix bugs in the hypervisor call stats code There were a few issues with the HCALL_STATS code: - PURR cpu feature checks were backwards - We iterated one entry off the end of the hcall_stats array - Remove dead update_hcall_stats() function prototype I noticed one thing while debugging, and that is we call H_ENTER (to set up the MMU hashtable in early init) before we have done the cpu fixups. This means we will execute the PURR SPR reads even on a CPU that isnt capable of it. I wonder if we can move the CPU feature fixups earlier. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed