]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ia64: cpumask fix for is_affinity_mask_valid()
authorMike Travis <travis@sgi.com>
Sun, 4 Jan 2009 13:18:00 +0000 (05:18 -0800)
committerIngo Molnar <mingo@elte.hu>
Sun, 4 Jan 2009 14:39:24 +0000 (15:39 +0100)
commitd3b66bf2e18777e8389742a38efbd06becfa4775
tree253fc221a420f2456a932acf07d24c9251a9dfab
parent7d3b56ba37a95f1f370f50258ed3954c304c524b
ia64: cpumask fix for is_affinity_mask_valid()

Impact: cleanup

The function prototype should use 'struct cpumask *' to declare
cpumask arguments (instead of cpumask_var_t).

Note: arch/ia64/kernel/irq.c still had the following "old cpumask_t" usages:

105: cpumask_t mask = CPU_MASK_NONE;
107: cpu_set(cpu_logical_id(hwid), mask);
110:                 irq_desc[irq].affinity = mask;

... replaced with a simple "cpumask_of(cpu_logical_id(hwid))".

161: new_cpu = any_online_cpu(cpu_online_map);
194: time_keeper_id = first_cpu(cpu_online_map);

... replaced with cpu_online_mask refs.

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/ia64/include/asm/irq.h
arch/ia64/kernel/irq.c