* [patch] kernel: Remove loops_per_jiffy code for 7448HPC2 platforms
@ 2007-03-14 23:37 Zang Roy-r61911
0 siblings, 0 replies; only message in thread
From: Zang Roy-r61911 @ 2007-03-14 23:37 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev list
Remove loops_per_jiffy code for 7448HPC2 platforms. They are not
necessary.
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
---
arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c b/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
index 9922574..ad0514d 100644
--- a/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
+++ b/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
@@ -73,22 +73,10 @@ int mpc7448_hpc2_exclude_device(u_char b
static void __init mpc7448_hpc2_setup_arch(void)
{
- struct device_node *cpu;
struct device_node *np;
if (ppc_md.progress)
ppc_md.progress("mpc7448_hpc2_setup_arch():set_bridge", 0);
- cpu = of_find_node_by_type(NULL, "cpu");
- if (cpu != 0) {
- const unsigned int *fp;
-
- fp = get_property(cpu, "clock-frequency", NULL);
- if (fp != 0)
- loops_per_jiffy = *fp / HZ;
- else
- loops_per_jiffy = 50000000 / HZ;
- of_node_put(cpu);
- }
tsi108_csr_vir_base = get_vir_csrbase();
/* setup PCI host bridge */
--
1.4.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-15 2:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-14 23:37 [patch] kernel: Remove loops_per_jiffy code for 7448HPC2 platforms Zang Roy-r61911
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).