From: Milton Miller Date: Fri, 14 Nov 2008 20:11:49 +0000 (+0000) Subject: powerpc: Provide a separate handler for each IPI action X-Git-Tag: v2.6.29-rc1~574^2~108 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25ddd738c2ebffb6c2d3cf29c91b986d1bb39c99;p=pandora-kernel.git powerpc: Provide a separate handler for each IPI action With the new generic smp call function helpers, I noticed the code in smp_message_recv was a single function call in many cases. While getting the message number from the ipi data is easy, we can reduce the path length by a function and data-dependent switch by registering seperate IPI actions for these simple calls. Originally I left the ipi action array exposed, but then I realized the registration code should be common too. The three users each had their own name array, so I made a fourth to convert all users to use a common one. Signed-off-by: Milton Miller Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed