Re: current BK compilation failure on ppc32

From: Pavel Machek
Date: Sat Jul 03 2004 - 15:52:14 EST


Hi!

> kernel/power/smp.c: In function `smp_pause':
> kernel/power/smp.c:24: error: storage size of `ctxt' isn't known
> kernel/power/smp.c:24: warning: unused variable `ctxt'
>
> kernel/power/smp.c seems to be inherently swsusp-specific but is
> compiled for CONFIG_PM. (Same seems to be true for amny other files
> in kernel/power/, but as they compile it only causes bloat..)

Patch is good, thanks and sorry for breakage.
Pavel

> --- 1.10/kernel/power/Makefile 2004-07-02 07:23:47 +02:00
> +++ edited/kernel/power/Makefile 2004-07-03 22:07:29 +02:00
> @@ -1,5 +1,7 @@
> obj-y := main.o process.o console.o pm.o
> +ifeq ($(CONFIG_SOFTWARE_SUSPEND), y)
> obj-$(CONFIG_SMP) += smp.o
> +endif
> obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o
> obj-$(CONFIG_PM_DISK) += disk.o pmdisk.o
>

--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/