Commit bf70d874 authored by Mikael Pettersson's avatar Mikael Pettersson Committed by Linus Torvalds

[PATCH] ppc32 irq.c cpumask fix

2.6.7-rc3-mm1 changed cpumask_t from ulong to a struct, causing
compile-time errors in arch/ppc/kernel/irq.c.

Proposed fix below. Tested on a G3.
Signed-off-by: default avatarMikael Pettersson <mikpe@csd.uu.se>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9bad068c
...@@ -628,7 +628,9 @@ static int prof_cpu_mask_read_proc (char *page, char **start, off_t off, ...@@ -628,7 +628,9 @@ static int prof_cpu_mask_read_proc (char *page, char **start, off_t off,
static int prof_cpu_mask_write_proc (struct file *file, const char __user *buffer, static int prof_cpu_mask_write_proc (struct file *file, const char __user *buffer,
unsigned long count, void *data) unsigned long count, void *data)
{ {
cpumask_t *mask = (cpumask_t *)data, full_count = count, err; int err;
int full_count = count;
cpumask_t *mask = (cpumask_t *)data;
cpumask_t new_value; cpumask_t new_value;
err = cpumask_parse(buffer, count, new_value); err = cpumask_parse(buffer, count, new_value);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment