summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/unwind.c
diff options
context:
space:
mode:
authorHelge Deller <deller@parisc-linux.org>2006-01-10 20:35:03 -0500
committerKyle McMartin <kyle@duet.int.mcmartin.ca>2006-01-10 20:35:03 -0500
commit8039de10aae3cd4cf0ef0ccebd58aff0e8810df2 (patch)
treeaf82e045c8fb3a417f78b49ec43413995b5f3c0f /arch/parisc/kernel/unwind.c
parent02706647a49011ae1e7b4eca33e835d1681b094e (diff)
downloadop-kernel-dev-8039de10aae3cd4cf0ef0ccebd58aff0e8810df2.zip
op-kernel-dev-8039de10aae3cd4cf0ef0ccebd58aff0e8810df2.tar.gz
[PARISC] Add __read_mostly section for parisc
Flag a whole bunch of things as __read_mostly on parisc. Also flag a few branches as unlikely() and cleanup a bit of code. Signed-off-by: Helge Deller <deller@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/kernel/unwind.c')
-rw-r--r--arch/parisc/kernel/unwind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/unwind.c b/arch/parisc/kernel/unwind.c
index db14110..cc1c1af 100644
--- a/arch/parisc/kernel/unwind.c
+++ b/arch/parisc/kernel/unwind.c
@@ -35,7 +35,7 @@ static spinlock_t unwind_lock;
* we can call unwind_init as early in the bootup process as
* possible (before the slab allocator is initialized)
*/
-static struct unwind_table kernel_unwind_table;
+static struct unwind_table kernel_unwind_table __read_mostly;
static LIST_HEAD(unwind_tables);
static inline const struct unwind_table_entry *
OpenPOWER on IntegriCloud