diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-12-20 04:54:54 -0500 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-12-20 04:54:54 -0500 |
| commit | 93b8eef1c098efbea2f1fc0be7e3c681f259a7e7 (patch) | |
| tree | 462cc8c2bc07bbc825dab2a200891a28d8643329 /include/linux | |
| parent | a2d781fc8d9b16113dd9440107d73c0f21d7cbef (diff) | |
| parent | 929096fe9ff1f4b3645cf3919527ab47e8d5e17c (diff) | |
Merge commit 'v2.6.28-rc9' into next
Diffstat (limited to 'include/linux')
65 files changed, 1145 insertions, 444 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index fd6a452b0ceb..fba8051fb297 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
| @@ -163,8 +163,6 @@ struct acpi_pci_driver { | |||
| 163 | int acpi_pci_register_driver(struct acpi_pci_driver *driver); | 163 | int acpi_pci_register_driver(struct acpi_pci_driver *driver); |
| 164 | void acpi_pci_unregister_driver(struct acpi_pci_driver *driver); | 164 | void acpi_pci_unregister_driver(struct acpi_pci_driver *driver); |
| 165 | 165 | ||
| 166 | #ifdef CONFIG_ACPI_EC | ||
| 167 | |||
| 168 | extern int ec_read(u8 addr, u8 *val); | 166 | extern int ec_read(u8 addr, u8 *val); |
| 169 | extern int ec_write(u8 addr, u8 val); | 167 | extern int ec_write(u8 addr, u8 val); |
| 170 | extern int ec_transaction(u8 command, | 168 | extern int ec_transaction(u8 command, |
| @@ -172,8 +170,6 @@ extern int ec_transaction(u8 command, | |||
| 172 | u8 *rdata, unsigned rdata_len, | 170 | u8 *rdata, unsigned rdata_len, |
| 173 | int force_poll); | 171 | int force_poll); |
| 174 | 172 | ||
| 175 | #endif /*CONFIG_ACPI_EC*/ | ||
| 176 | |||
| 177 | #if defined(CONFIG_ACPI_WMI) || defined(CONFIG_ACPI_WMI_MODULE) | 173 | #if defined(CONFIG_ACPI_WMI) || defined(CONFIG_ACPI_WMI_MODULE) |
| 178 | 174 | ||
| 179 | typedef void (*wmi_notify_handler) (u32 value, void *context); | 175 | typedef void (*wmi_notify_handler) (u32 value, void *context); |
| @@ -194,6 +190,50 @@ extern bool wmi_has_guid(const char *guid); | |||
| 194 | 190 | ||
| 195 | #endif /* CONFIG_ACPI_WMI */ | 191 | #endif /* CONFIG_ACPI_WMI */ |
| 196 | 192 | ||
| 193 | #define ACPI_VIDEO_OUTPUT_SWITCHING 0x0001 | ||
| 194 | #define ACPI_VIDEO_DEVICE_POSTING 0x0002 | ||
| 195 | #define ACPI_VIDEO_ROM_AVAILABLE 0x0004 | ||
| 196 | #define ACPI_VIDEO_BACKLIGHT 0x0008 | ||
| 197 | #define ACPI_VIDEO_BACKLIGHT_FORCE_VENDOR 0x0010 | ||
| 198 | #define ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO 0x0020 | ||
| 199 | #define ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VENDOR 0x0040 | ||
| 200 | #define ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VIDEO 0x0080 | ||
| 201 | #define ACPI_VIDEO_BACKLIGHT_DMI_VENDOR 0x0100 | ||
| 202 | #define ACPI_VIDEO_BACKLIGHT_DMI_VIDEO 0x0200 | ||
| 203 | #define ACPI_VIDEO_OUTPUT_SWITCHING_DMI_VENDOR 0x0400 | ||
| 204 | #define ACPI_VIDEO_OUTPUT_SWITCHING_DMI_VIDEO 0x0800 | ||
| 205 | |||
| 206 | #if defined(CONFIG_ACPI_VIDEO) || defined(CONFIG_ACPI_VIDEO_MODULE) | ||
| 207 | |||
| 208 | extern long acpi_video_get_capabilities(acpi_handle graphics_dev_handle); | ||
| 209 | extern long acpi_is_video_device(struct acpi_device *device); | ||
| 210 | extern int acpi_video_backlight_support(void); | ||
| 211 | extern int acpi_video_display_switch_support(void); | ||
| 212 | |||
| 213 | #else | ||
| 214 | |||
| 215 | static inline long acpi_video_get_capabilities(acpi_handle graphics_dev_handle) | ||
| 216 | { | ||
| 217 | return 0; | ||
| 218 | } | ||
| 219 | |||
| 220 | static inline long acpi_is_video_device(struct acpi_device *device) | ||
| 221 | { | ||
| 222 | return 0; | ||
| 223 | } | ||
| 224 | |||
| 225 | static inline int acpi_video_backlight_support(void) | ||
| 226 | { | ||
| 227 | return 0; | ||
| 228 | } | ||
| 229 | |||
| 230 | static inline int acpi_video_display_switch_support(void) | ||
| 231 | { | ||
| 232 | return 0; | ||
| 233 | } | ||
| 234 | |||
| 235 | #endif /* defined(CONFIG_ACPI_VIDEO) || defined(CONFIG_ACPI_VIDEO_MODULE) */ | ||
| 236 | |||
| 197 | extern int acpi_blacklisted(void); | 237 | extern int acpi_blacklisted(void); |
| 198 | #ifdef CONFIG_DMI | 238 | #ifdef CONFIG_DMI |
| 199 | extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); | 239 | extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); |
diff --git a/include/linux/audit.h b/include/linux/audit.h index 6272a395d43c..8f0672d13eb1 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
| @@ -391,6 +391,7 @@ extern int audit_classify_arch(int arch); | |||
| 391 | #ifdef CONFIG_AUDITSYSCALL | 391 | #ifdef CONFIG_AUDITSYSCALL |
| 392 | /* These are defined in auditsc.c */ | 392 | /* These are defined in auditsc.c */ |
| 393 | /* Public API */ | 393 | /* Public API */ |
| 394 | extern void audit_finish_fork(struct task_struct *child); | ||
| 394 | extern int audit_alloc(struct task_struct *task); | 395 | extern int audit_alloc(struct task_struct *task); |
| 395 | extern void audit_free(struct task_struct *task); | 396 | extern void audit_free(struct task_struct *task); |
| 396 | extern void audit_syscall_entry(int arch, | 397 | extern void audit_syscall_entry(int arch, |
| @@ -434,7 +435,7 @@ static inline void audit_ptrace(struct task_struct *t) | |||
| 434 | 435 | ||
| 435 | /* Private API (for audit.c only) */ | 436 | |
