Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79744
b: refs/heads/master
c: 376ff03
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed Jan 30, 2008
1 parent 5262ed0 commit 9a4aa61
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 11 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: 63fefb7d5bac6e65b5df2b7eb4aa56bb4bbadd48
refs/heads/master: 376ff0352c24a5fa47f1250dd60937b5a9077672
3 changes: 1 addition & 2 deletions trunk/arch/x86/kernel/setup_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include <linux/crash_dump.h>
#include <linux/dmi.h>
#include <linux/pfn.h>
#include <linux/pci.h>

#include <video/edid.h>

Expand Down Expand Up @@ -663,9 +664,7 @@ void __init setup_arch(char **cmdline_p)
acpi_boot_table_init();
#endif

#ifdef CONFIG_PCI
early_quirks();
#endif

#ifdef CONFIG_ACPI
acpi_boot_init();
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/x86/kernel/setup_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,7 @@ void __init setup_arch(char **cmdline_p)
reserve_crashkernel();
paging_init();

#ifdef CONFIG_PCI
early_quirks();
#endif

/*
* set this early, so we dont allocate cpu0
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-x86/acpi_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ int __acpi_release_global_lock(unsigned int *lock);
:"=r"(n_hi), "=r"(n_lo) \
:"0"(n_hi), "1"(n_lo))

extern void early_quirks(void);

#ifdef CONFIG_ACPI
extern int acpi_lapic;
extern int acpi_ioapic;
Expand Down
4 changes: 3 additions & 1 deletion trunk/include/asm-x86/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,18 @@ extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,


#ifdef CONFIG_PCI
extern void early_quirks(void);
static inline void pci_dma_burst_advice(struct pci_dev *pdev,
enum pci_dma_burst_strategy *strat,
unsigned long *strategy_parameter)
{
*strat = PCI_DMA_BURST_INFINITY;
*strategy_parameter = ~0UL;
}
#else
static inline void early_quirks(void) { }
#endif


#endif /* __KERNEL__ */

#ifdef CONFIG_X86_32
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/asm-x86/proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ extern void show_registers(struct pt_regs *regs);

extern void exception_table_check(void);

extern void acpi_reserve_bootmem(void);

extern void swap_low_mappings(void);

extern void __show_regs(struct pt_regs * regs);
Expand All @@ -69,7 +67,6 @@ extern void syscall32_cpu_init(void);

extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long end);

extern void early_quirks(void);
extern void check_efer(void);

extern void select_idle_routine(const struct cpuinfo_x86 *c);
Expand Down

0 comments on commit 9a4aa61

Please sign in to comment.