File tree Expand file tree Collapse file tree 4 files changed +26
-14
lines changed Expand file tree Collapse file tree 4 files changed +26
-14
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ extern u8 acpi_sci_flags;
5252extern int acpi_sci_override_gsi ;
5353void acpi_pic_sci_set_trigger (unsigned int , u16 );
5454
55+ struct device ;
56+
5557extern int (* __acpi_register_gsi )(struct device * dev , u32 gsi ,
5658 int trigger , int polarity );
5759extern void (* __acpi_unregister_gsi )(u32 gsi );
Original file line number Diff line number Diff line change 11#ifndef _ASM_E820_TYPES_H
22#define _ASM_E820_TYPES_H
33
4+ #include <uapi/asm/e820/types.h>
5+
46/* Our map: */
57#define E820MAP 0x2d0
68
7- /* The maximum number of entries in E820MAP: */
8- #define E820MAX 128
9-
109/*
1110 * The legacy E820 BIOS limits us to 128 (E820MAX) nodes due to the
1211 * constrained space in the zeropage.
6867#ifndef __ASSEMBLY__
6968#include <linux/types.h>
7069
71- /*
72- * A single E820 map entry, describing a memory range of [addr...addr+size-1],
73- * of 'type' memory type:
74- */
75- struct e820entry {
76- __u64 addr ;
77- __u64 size ;
78- __u32 type ;
79- } __attribute__((packed ));
80-
8170/*
8271 * The whole array of E820 entries:
8372 */
Original file line number Diff line number Diff line change 3434#include <linux/screen_info.h>
3535#include <linux/apm_bios.h>
3636#include <linux/edd.h>
37- #include <asm/e820/api .h>
37+ #include <uapi/ asm/e820/types .h>
3838#include <asm/ist.h>
3939#include <video/edid.h>
4040
Original file line number Diff line number Diff line change 1+ #ifndef _UAPI_ASM_E820_TYPES_H
2+ #define _UAPI_ASM_E820_TYPES_H
3+
4+ /* The maximum number of entries in E820MAP: */
5+ #define E820MAX 128
6+
7+ #ifndef __ASSEMBLY__
8+
9+ /*
10+ * A single E820 map entry, describing a memory range of [addr...addr+size-1],
11+ * of 'type' memory type:
12+ */
13+ struct e820entry {
14+ __u64 addr ;
15+ __u64 size ;
16+ __u32 type ;
17+ } __attribute__((packed ));
18+
19+ #endif /* __ASSEMBLY__ */
20+
21+ #endif /* _UAPI_ASM_E820_TYPES_H */
You can’t perform that action at this time.
0 commit comments