Re: 2.5.74-mm3

Matt Mackall
2003-07-09T09:10:00Z

On Tue, Jul 08, 2003 at 10:35:48PM -0700, Andrew Morton wrote:
> Merged
>
> -cpumask_t-1.patch
> -gcc-bug-workaround.patch
> -sparse-apic-fix.patch
> -nuke-cpumask_arith.patch
> -p4-clockmod-cpumask-fix.patch
>
> Folded into cpumask_t-1.patch
>
> +cpumask_t-s390-fix.patch
> +kgdb-cpumask_t.patch
> +cpumask_t-x86_64-fix.patch
> +sparc64-cpumask_t-fix.patch
>
> cpumask_t fixes

UP APM has broken since -mm2, looks like something like this is
needed (compiles, untested):

diff -urN -x genksyms -x '*.ver' -x '.patch*' -x '*.orig' orig/arch/i386/kernel/apm.c patched/arch/i386/kernel/apm.c
--- orig/arch/i386/kernel/apm.c 2003-07-09 04:07:06.000000000 -0500
+++ patched/arch/i386/kernel/apm.c 2003-07-09 04:19:52.000000000 -0500
@@ -528,7 +528,7 @@
* No CPU lockdown needed on a uniprocessor
*/

-#define apm_save_cpus() 0
+#define apm_save_cpus() (current->cpus_allowed)
#define apm_restore_cpus(x) (void)(x)

#endif

--
Matt Mackall : http://www.selenic.com : of or relating to the moon