Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165172
b: refs/heads/master
c: e55a599
h: refs/heads/master
v: v3
  • Loading branch information
Feng Tang authored and Len Brown committed Aug 28, 2009
1 parent 1d36c5e commit a604a8f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e5b8fc6ac158f65598f58dba2c0d52ba3b412f52
refs/heads/master: e55a5999ffcf72dc4d43d73618957964cb87065a
1 change: 0 additions & 1 deletion trunk/arch/x86/include/asm/acpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ static inline unsigned int acpi_processor_cstate_check(unsigned int max_cstate)

#else /* !CONFIG_ACPI */

#define acpi_disabled 1
#define acpi_lapic 0
#define acpi_ioapic 0
static inline void acpi_noirq_set(void) { }
Expand Down
11 changes: 10 additions & 1 deletion trunk/include/linux/acpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,10 @@ void __init acpi_s4_no_nvs(void);
extern acpi_status acpi_pci_osc_control_set(acpi_handle handle, u32 flags);
extern void acpi_early_init(void);

#else /* CONFIG_ACPI */
#else /* !CONFIG_ACPI */

#define acpi_disabled 1

static inline void acpi_early_init(void) { }

static inline int early_acpi_boot_init(void)
Expand Down Expand Up @@ -331,5 +334,11 @@ static inline int acpi_check_mem_region(resource_size_t start,
return 0;
}

struct acpi_table_header;
static inline int acpi_table_parse(char *id,
int (*handler)(struct acpi_table_header *))
{
return -1;
}
#endif /* !CONFIG_ACPI */
#endif /*_LINUX_ACPI_H*/

0 comments on commit a604a8f

Please sign in to comment.