projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c37a88
)
[PATCH] ppc32: remove unused computation
author
Paul Mackerras
<paulus@samba.org>
Fri, 20 May 2005 07:15:00 +0000
(17:15 +1000)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Fri, 20 May 2005 14:54:10 +0000
(07:54 -0700)
We are computing phys in the code below and never using. This patch
takes out the redundant computation.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/syslib/open_pic.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/ppc/syslib/open_pic.c
b/arch/ppc/syslib/open_pic.c
index 7619e16fccaef18ddd666a5058487283f884af5c..9d4ed68b580419c5c7e1e0e02509a58e9e29ca60 100644
(file)
--- a/
arch/ppc/syslib/open_pic.c
+++ b/
arch/ppc/syslib/open_pic.c
@@
-557,12
+557,10
@@
static void __init openpic_initipi(u_int ipi, u_int pri, u_int vec)
*/
void openpic_cause_IPI(u_int ipi, cpumask_t cpumask)
{
- cpumask_t phys;
DECL_THIS_CPU;
CHECK_THIS_CPU;
check_arg_ipi(ipi);
- phys = physmask(cpumask);
openpic_write(&OpenPIC->THIS_CPU.IPI_Dispatch(ipi),
cpus_addr(physmask(cpumask))[0]);
}