Hello,
BCC: xubuntu-devel
There is a bug in the linux kernel that prevents xfce4-battery-plugin
(and a number of other packages) from compiling and I'd like to have
this merge done for the next alpha because it contains important
patches we'd like tested. Basically, apm_event{,info}_t are userspace
types but they got hidden behind #ifdef __KERNEL__ by mistake in
include/linux/apm_bios.h (in commit
ee8e7cfe9d330d6f1ce0b9b1620d6df5d9cf6b70).
As discussed with Tim Gardner on #ubuntu-kernel, I'm e-mailing this
list with a patch. Upstream has been notified (there is a thread on
fa.linux.kernel and Andrew Morton has touched it) so hopefully this
patch can be dropped soon enough.
Thank you,
Cody A.W. Somerville
include/linux/apm_bios.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux/apm_bios.h b/include/linux/apm_bios.h
index 9754baa..01a6244 100644
--- a/include/linux/apm_bios.h
+++ b/include/linux/apm_bios.h
@@ -18,6 +18,9 @@
#include <linux/types.h>
+typedef unsigned short apm_event_t;
+typedef unsigned short apm_eventinfo_t;
+
struct apm_bios_info {
__u16 version;
__u16 cseg;
@@ -32,9 +35,6 @@ struct apm_bios_info {
#ifdef __KERNEL__
-typedef unsigned short apm_event_t;
-typedef unsigned short apm_eventinfo_t;
-
#define APM_CS (GDT_ENTRY_APMBIOS_BASE * 8)
#define APM_CS_16 (APM_CS + 8)
#define APM_DS (APM_CS_16 + 8)
--
xubuntu-devel mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/xubuntu-devel