lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <625fc13d0707211857l4952cf1wec0d038859512bea@mail.gmail.com>
Date:	Sat, 21 Jul 2007 20:57:06 -0500
From:	"Josh Boyer" <jwboyer@...il.com>
To:	"Dave Jones" <davej@...hat.com>,
	"Linux Kernel" <linux-kernel@...r.kernel.org>, paulus@...ba.org
Subject: Re: fix modular compilation of pmu_battery

On 7/21/07, Dave Jones <davej@...hat.com> wrote:
> pmu_battery fails to compile as a module on ppc64.
>
> ERROR: "pmu_batteries" [drivers/power/pmu_battery.ko] undefined!
> ERROR: "pmu_battery_count" [drivers/power/pmu_battery.ko] undefined!
> ERROR: "pmu_power_flags" [drivers/power/pmu_battery.ko] undefined!
>
> Signed-off-by: Dave Jones <davej@...hat.com>
>
> --- linux-2.6.22.noarch/drivers/macintosh/via-pmu.c~    2007-07-20 20:45:27.000000000 -0400
> +++ linux-2.6.22.noarch/drivers/macintosh/via-pmu.c     2007-07-20 20:45:52.000000000 -0400
> @@ -2842,10 +2842,10 @@ EXPORT_SYMBOL(pmu_wait_complete);
>  EXPORT_SYMBOL(pmu_suspend);
>  EXPORT_SYMBOL(pmu_resume);
>  EXPORT_SYMBOL(pmu_unlock);
> -#if defined(CONFIG_PM) && defined(CONFIG_PPC32)
> +#if defined(CONFIG_PM)
>  EXPORT_SYMBOL(pmu_enable_irled);
>  EXPORT_SYMBOL(pmu_battery_count);
>  EXPORT_SYMBOL(pmu_batteries);
>  EXPORT_SYMBOL(pmu_power_flags);
> -#endif /* CONFIG_PM && CONFIG_PPC32 */
> +#endif

Paul has a different fix for this pending on the linuxppc-dev list.

josh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ