diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-30 21:00:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-30 21:00:26 -0400 |
commit | d17abcd5417d84cfa8a225160481203a37dc81d4 (patch) | |
tree | 74ce2c425c5c6550acec90bc92c8a3f735f0d257 /arch/powerpc | |
parent | db6f204019380c788f1de06ee937bdbccd60e5c0 (diff) | |
parent | bb75efddeaca89f8a67fd82cdcbaaf436cf17ca9 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask
* git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask:
oprofile: Thou shalt not call __exit functions from __init functions
cpumask: remove the now-obsoleted pcibus_to_cpumask(): generic
cpumask: remove cpumask_t from core
cpumask: convert rcutorture.c
cpumask: use new cpumask_ functions in core code.
cpumask: remove references to struct irqaction's mask field.
cpumask: use mm_cpumask() wrapper: kernel/fork.c
cpumask: use set_cpu_active in init/main.c
cpumask: remove node_to_first_cpu
cpumask: fix seq_bitmap_*() functions.
cpumask: remove dangerous CPU_MASK_ALL_PTR, &CPU_MASK_ALL
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/include/asm/topology.h | 5 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_cds.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/8xx/m8xx_setup.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/chrp/setup.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/powermac/pic.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/powermac/smp.c | 1 | ||||
-rw-r--r-- | arch/powerpc/sysdev/cpm1.c | 1 |
7 files changed, 0 insertions, 12 deletions
diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h index 375258559ae6..054a16d68082 100644 --- a/arch/powerpc/include/asm/topology.h +++ b/arch/powerpc/include/asm/topology.h | |||
@@ -24,11 +24,6 @@ static inline cpumask_t node_to_cpumask(int node) | |||
24 | 24 | ||
25 | #define cpumask_of_node(node) (&numa_cpumask_lookup_table[node]) | 25 | #define cpumask_of_node(node) (&numa_cpumask_lookup_table[node]) |
26 | 26 | ||
27 | static inline int node_to_first_cpu(int node) | ||
28 | { | ||
29 | return cpumask_first(cpumask_of_node(node)); | ||
30 | } | ||
31 | |||
32 | int of_node_to_nid(struct device_node *device); | 27 | int of_node_to_nid(struct device_node *device); |
33 | 28 | ||
34 | struct pci_bus; | 29 | struct pci_bus; |
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_cds.c b/arch/powerpc/platforms/85xx/mpc85xx_cds.c index 0a9e49104bdc..458d91fba91d 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c | |||
@@ -179,7 +179,6 @@ static irqreturn_t mpc85xx_8259_cascade_action(int irq, void *dev_id) | |||
179 | static struct irqaction mpc85xxcds_8259_irqaction = { | 179 | static struct irqaction mpc85xxcds_8259_irqaction = { |
180 | .handler = mpc85xx_8259_cascade_action, | 180 | .handler = mpc85xx_8259_cascade_action, |
181 | .flags = IRQF_SHARED, | 181 | .flags = IRQF_SHARED, |
182 | .mask = CPU_MASK_NONE, | ||
183 | .name = "8259 cascade", | 182 | .name = "8259 cascade", |
184 | }; | 183 | }; |
185 | #endif /* PPC_I8259 */ | 184 | #endif /* PPC_I8259 */ |
diff --git a/arch/powerpc/platforms/8xx/m8xx_setup.c b/arch/powerpc/platforms/8xx/m8xx_setup.c index 0d9f75c74f8c..385acfc48397 100644 --- a/arch/powerpc/platforms/8xx/m8xx_setup.c +++ b/arch/powerpc/platforms/8xx/m8xx_setup.c | |||
@@ -44,7 +44,6 @@ static irqreturn_t timebase_interrupt(int irq, void *dev) | |||
44 | 44 | ||
45 | static struct irqaction tbint_irqaction = { | 45 | static struct irqaction tbint_irqaction = { |
46 | .handler = timebase_interrupt, | 46 | .handler = timebase_interrupt, |
47 | .mask = CPU_MASK_NONE, | ||
48 | .name = "tbint", | 47 | .name = "tbint", |
49 | }; | 48 | }; |
50 | 49 | ||
diff --git a/arch/powerpc/platforms/chrp/setup.c b/arch/powerpc/platforms/chrp/setup.c index 272d79a8d289..cd4ad9aea760 100644 --- a/arch/powerpc/platforms/chrp/setup.c +++ b/arch/powerpc/platforms/chrp/setup.c | |||
@@ -472,7 +472,6 @@ static void __init chrp_find_openpic(void) | |||
472 | #if defined(CONFIG_VT) && defined(CONFIG_INPUT_ADBHID) && defined(CONFIG_XMON) | 472 | #if defined(CONFIG_VT) && defined(CONFIG_INPUT_ADBHID) && defined(CONFIG_XMON) |
473 | static struct irqaction xmon_irqaction = { | 473 | static struct irqaction xmon_irqaction = { |
474 | .handler = xmon_irq, | 474 | .handler = xmon_irq, |
475 | .mask = CPU_MASK_NONE, | ||
476 | .name = "XMON break", | 475 | .name = "XMON break", |
477 | }; | 476 | }; |
478 | #endif | 477 | #endif |
diff --git a/arch/powerpc/platforms/powermac/pic.c b/arch/powerpc/platforms/powermac/pic.c index 6d149ae8ffa7..7039d8f1d3ba 100644 --- a/arch/powerpc/platforms/powermac/pic.c +++ b/arch/powerpc/platforms/powermac/pic.c | |||
@@ -266,7 +266,6 @@ static unsigned int pmac_pic_get_irq(void) | |||
266 | static struct irqaction xmon_action = { | 266 | static struct irqaction xmon_action = { |
267 | .handler = xmon_irq, | 267 | .handler = xmon_irq, |
268 | .flags = 0, | 268 | .flags = 0, |
269 | .mask = CPU_MASK_NONE, | ||
270 | .name = "NMI - XMON" | 269 | .name = "NMI - XMON" |
271 | }; | 270 | }; |
272 | #endif | 271 | #endif |
@@ -274,7 +273,6 @@ static struct irqaction xmon_action = { | |||
274 | static struct irqaction gatwick_cascade_action = { | 273 | static struct irqaction gatwick_cascade_action = { |
275 | .handler = gatwick_action, | 274 | .handler = gatwick_action, |
276 | .flags = IRQF_DISABLED, | 275 | .flags = IRQF_DISABLED, |
277 | .mask = CPU_MASK_NONE, | ||
278 | .name = "cascade", | 276 | .name = "cascade", |
279 | }; | 277 | }; |
280 | 278 | ||
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c index bd8817b00fa4..cf1dbe758890 100644 --- a/arch/powerpc/platforms/powermac/smp.c +++ b/arch/powerpc/platforms/powermac/smp.c | |||
@@ -385,7 +385,6 @@ static void __init psurge_dual_sync_tb(int cpu_nr) | |||
385 | static struct irqaction psurge_irqaction = { | 385 | static struct irqaction psurge_irqaction = { |
386 | .handler = psurge_primary_intr, | 386 | .handler = psurge_primary_intr, |
387 | .flags = IRQF_DISABLED, | 387 | .flags = IRQF_DISABLED, |
388 | .mask = CPU_MASK_NONE, | ||
389 | .name = "primary IPI", | 388 | .name = "primary IPI", |
390 | }; | 389 | }; |
391 | 390 | ||
diff --git a/arch/powerpc/sysdev/cpm1.c b/arch/powerpc/sysdev/cpm1.c index 490473ce8103..82424cd7e128 100644 --- a/arch/powerpc/sysdev/cpm1.c +++ b/arch/powerpc/sysdev/cpm1.c | |||
@@ -119,7 +119,6 @@ static irqreturn_t cpm_error_interrupt(int irq, void *dev) | |||
119 | 119 | ||
120 | static struct irqaction cpm_error_irqaction = { | 120 | static struct irqaction cpm_error_irqaction = { |
121 | .handler = cpm_error_interrupt, | 121 | .handler = cpm_error_interrupt, |
122 | .mask = CPU_MASK_NONE, | ||
123 | .name = "error", | 122 | .name = "error", |
124 | }; | 123 | }; |
125 | 124 | ||