From: Linus Torvalds Date: Thu, 23 Oct 2008 17:22:01 +0000 (-0700) Subject: Merge branch 'x86/um-header' of git://git.kernel.org/pub/scm/linux/kernel/git/tip... X-Git-Tag: v2.6.28-rc1~25 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=5b34653963de7a6d0d8c783527457d68fddc60fb;hp=-c;p=linux-2.6-omap-h63xx.git Merge branch 'x86/um-header' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip * 'x86/um-header' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (26 commits) x86: canonicalize remaining header guards x86: drop double underscores from header guards x86: Fix ASM_X86__ header guards x86, um: get rid of uml-config.h x86, um: get rid of arch/um/Kconfig.arch x86, um: get rid of arch/um/os symlink x86, um: get rid of excessive includes of uml-config.h x86, um: get rid of header symlinks x86, um: merge Kconfig.i386 and Kconfig.x86_64 x86, um: get rid of sysdep symlink x86, um: trim the junk from uml ptrace-*.h x86, um: take vm-flags.h to sysdep x86, um: get rid of uml asm/arch x86, um: get rid of uml highmem.h x86, um: get rid of uml unistd.h x86, um: get rid of system.h -> system.h include x86, um: uml atomic.h is not needed anymore x86, um: untangle uml ldt.h x86, um: get rid of more uml asm/arch uses x86, um: remove dead header (uml module-generic.h; never used these days) ... --- 5b34653963de7a6d0d8c783527457d68fddc60fb diff --combined arch/x86/include/asm/idle.h index 32227f0188d,8ed93761a74..44c89c3a23e --- a/arch/x86/include/asm/idle.h +++ b/arch/x86/include/asm/idle.h @@@ -1,16 -1,15 +1,16 @@@ - #ifndef ASM_X86__IDLE_H - #define ASM_X86__IDLE_H + #ifndef _ASM_X86_IDLE_H + #define _ASM_X86_IDLE_H #define IDLE_START 1 #define IDLE_END 2 struct notifier_block; void idle_notifier_register(struct notifier_block *n); +void idle_notifier_unregister(struct notifier_block *n); void enter_idle(void); void exit_idle(void); void c1e_remove_cpu(int cpu); - #endif /* ASM_X86__IDLE_H */ + #endif /* _ASM_X86_IDLE_H */ diff --combined arch/x86/include/asm/iommu.h index 2daaffcda52,0c770f8aa00..98e28ea8cd1 --- a/arch/x86/include/asm/iommu.h +++ b/arch/x86/include/asm/iommu.h @@@ -1,5 -1,5 +1,5 @@@ - #ifndef ASM_X86__IOMMU_H - #define ASM_X86__IOMMU_H + #ifndef _ASM_X86_IOMMU_H + #define _ASM_X86_IOMMU_H extern void pci_iommu_shutdown(void); extern void no_iommu_init(void); @@@ -7,13 -7,9 +7,13 @@@ extern struct dma_mapping_ops nommu_dma extern int force_iommu, no_iommu; extern int iommu_detected; extern int dmar_disabled; +extern int forbid_dac; extern unsigned long iommu_nr_pages(unsigned long addr, unsigned long len); +/* 10 seconds */ +#define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000) + #ifdef CONFIG_GART_IOMMU extern int gart_iommu_aperture; extern int gart_iommu_aperture_allowed; @@@ -47,4 -43,4 +47,4 @@@ static inline void gart_iommu_hole_init } #endif - #endif /* ASM_X86__IOMMU_H */ + #endif /* _ASM_X86_IOMMU_H */