[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>
This commit is contained in:

committed by
Kyle McMartin

parent
02706647a4
commit
8039de10aa
@@ -20,8 +20,9 @@
|
||||
#include <linux/init.h>
|
||||
#include <linux/smp.h>
|
||||
#include <linux/cpu.h>
|
||||
#include <linux/cache.h>
|
||||
|
||||
static struct cpu cpu_devices[NR_CPUS];
|
||||
static struct cpu cpu_devices[NR_CPUS] __read_mostly;
|
||||
|
||||
static int __init topology_init(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user