git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
apm_event{,info}_t are userspace types
[pandora-kernel.git]
/
include
/
linux
/
apm_bios.h
diff --git
a/include/linux/apm_bios.h
b/include/linux/apm_bios.h
index
9754baa
..
01a6244
100644
(file)
--- a/
include/linux/apm_bios.h
+++ b/
include/linux/apm_bios.h
@@
-18,6
+18,9
@@
#include <linux/types.h>
#include <linux/types.h>
+typedef unsigned short apm_event_t;
+typedef unsigned short apm_eventinfo_t;
+
struct apm_bios_info {
__u16 version;
__u16 cseg;
struct apm_bios_info {
__u16 version;
__u16 cseg;
@@
-32,9
+35,6
@@
struct apm_bios_info {
#ifdef __KERNEL__
#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)
#define APM_CS (GDT_ENTRY_APMBIOS_BASE * 8)
#define APM_CS_16 (APM_CS + 8)
#define APM_DS (APM_CS_16 + 8)