From: mikey@neuling.org
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: [PATCH 1/4] powerpc: remove unneeded cpu_setup/restore from POWER7 cputable entry
Date: Thu, 18 Nov 2010 15:52:42 +1100 [thread overview]
Message-ID: <20101118045247.454793259@neuling.org> (raw)
In-Reply-To: 20101118045241.071482503@neuling.org
These are not needed so just remove them
Signed-off-by: Michael Neuling <mikey@neuling.org>
---
arch/powerpc/kernel/cputable.c | 2 --
arch/powerpc/kernel/misc.S | 5 -----
2 files changed, 7 deletions(-)
Index: linux-2.6-ozlabs/arch/powerpc/kernel/cputable.c
===================================================================
--- linux-2.6-ozlabs.orig/arch/powerpc/kernel/cputable.c
+++ linux-2.6-ozlabs/arch/powerpc/kernel/cputable.c
@@ -457,8 +457,6 @@
.dcache_bsize = 128,
.num_pmcs = 6,
.pmc_type = PPC_PMC_IBM,
- .cpu_setup = __setup_cpu_power7,
- .cpu_restore = __restore_cpu_power7,
.oprofile_cpu_type = "ppc64/power7",
.oprofile_type = PPC_OPROFILE_POWER4,
.oprofile_mmcra_sihv = POWER6_MMCRA_SIHV,
Index: linux-2.6-ozlabs/arch/powerpc/kernel/misc.S
===================================================================
--- linux-2.6-ozlabs.orig/arch/powerpc/kernel/misc.S
+++ linux-2.6-ozlabs/arch/powerpc/kernel/misc.S
@@ -122,8 +122,3 @@
mtlr r0
mr r3,r4
blr
-
-_GLOBAL(__setup_cpu_power7)
-_GLOBAL(__restore_cpu_power7)
- /* place holder */
- blr
next prev parent reply other threads:[~2010-11-18 4:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-18 4:52 [PATCH 0/4] Patches from my local tree mikey
2010-11-18 4:52 ` mikey [this message]
2010-11-18 4:52 ` [PATCH 2/4] powerpc: remove POWER6 oprofile workarounds for POWER7 mikey
2010-11-18 4:52 ` [PATCH 3/4] powerpc: add POWER7+ cputable entry mikey
2010-11-18 4:52 ` [PATCH 4/4] powerpc: hash_preload: avoid avoidable void mikey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101118045247.454793259@neuling.org \
--to=mikey@neuling.org \
--cc=benh@kernel.crashing.org \
--cc=linuxppc-dev@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).