The patch titled
apm_event{,info}_t are userspace types
has been added to the -mm tree. Its filename is
apm_eventinfo_t-are-userspace-types.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: apm_event{,info}_t are userspace types
From: Adam Jackson <[EMAIL PROTECTED]>
These types define the size of data read from /dev/apm_bios. They should
not be hidden behind #ifdef __KERNEL__.
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
include/linux/apm_bios.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff -puN include/linux/apm_bios.h~apm_eventinfo_t-are-userspace-types
include/linux/apm_bios.h
--- a/include/linux/apm_bios.h~apm_eventinfo_t-are-userspace-types
+++ a/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)
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
apm_eventinfo_t-are-userspace-types.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html