From: Mahesh Salgaonkar Date: Fri, 19 Dec 2014 03:11:05 +0000 (+0530) Subject: powerpc/book3s: Fix flush_tlb cpu_spec hook to take a generic argument. X-Git-Tag: omap-for-v4.1/fixes-rc1~126^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45706bb53d118b5340a12926e26444d73b6491f9;p=pandora-kernel.git powerpc/book3s: Fix flush_tlb cpu_spec hook to take a generic argument. The flush_tlb hook in cpu_spec was introduced as a generic function hook to invalidate TLBs. But the current implementation of flush_tlb hook takes IS (invalidation selector) as an argument which is architecture dependent. Hence, It is not right to have a generic routine where caller has to pass non-generic argument. This patch fixes this and makes flush_tlb hook as high level API. Reported-by: Benjamin Herrenschmidt Signed-off-by: Mahesh Salgaonkar Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed