linux-mips
[Top] [All Lists]

[PATCH 0/2] Clean up CP0 hwrena code in traps.c

To: Ralf Baechle <ralf@linux-mips.org>, linux-mips <linux-mips@linux-mips.org>
Subject: [PATCH 0/2] Clean up CP0 hwrena code in traps.c
From: David Daney <ddaney@caviumnetworks.com>
Date: Wed, 13 May 2009 15:57:59 -0700
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
There is an ugly #ifdef CONFIG_CPU_CAVIUM_OCTEON in the middle of
traps.c.  We can get rid of it if we add a cpu feature for
implementation dependent hwrena bits.  The first patch adds the
feature macro and the second removes the #ifdef by setting the feature
for Octeon.

I will reply with the two patches.

David Daney (2):
 MIPS: Allow CPU specific overriding of CP0 hwrena impl bits.
 MIPS: Move Cavium CP0 hwrena impl bits to cpu-feature-overrides.h

arch/mips/include/asm/cpu-features.h               |    4 ++++
.../asm/mach-cavium-octeon/cpu-feature-overrides.h |    1 +
arch/mips/kernel/traps.c                           |    6 +-----
3 files changed, 6 insertions(+), 5 deletions(-)


<Prev in Thread] Current Thread [Next in Thread>