[PATCH] gcc3 compatibility and debugger support

Paul Mackerras paulus at samba.org
Mon Sep 24 12:39:29 EST 2001


Franz Sirl writes:

>  	current_set[smp_processor_id()] = new;
> +#else
> +	current_set[0] = new;
>  #endif /* CONFIG_SMP */

Yuck.  Just put the #endif before the line that sets current_set[].
smp_processor_id() is 0 on UP.

Paul.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list