diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-27 03:04:43 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-27 03:04:43 -0500 |
commit | f701d354075914296474d062f18fc8ee681a2318 (patch) | |
tree | 4c39db49f4bc9827a1a0dabc6a83fb30bd2c7ac4 /arch/ia64 | |
parent | 1b49061d400c9e51e3ac2aac026a099fe599b9bb (diff) | |
parent | 64e71303e44f3697e4568147caa966de74bdb4fb (diff) |
Merge branches 'tracing/ftrace' and 'linus' into tracing/core
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/Kconfig | 11 | ||||
-rw-r--r-- | arch/ia64/kernel/iosapic.c | 2 | ||||
-rw-r--r-- | arch/ia64/kernel/unwind.c | 2 |
3 files changed, 13 insertions, 2 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 5b2a2379a439..294a3b13ecac 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -641,6 +641,17 @@ config DMAR | |||
641 | and include PCI device scope covered by these DMA | 641 | and include PCI device scope covered by these DMA |
642 | remapping devices. | 642 | remapping devices. |
643 | 643 | ||
644 | config DMAR_DEFAULT_ON | ||
645 | def_bool y | ||
646 | prompt "Enable DMA Remapping Devices by default" | ||
647 | depends on DMAR | ||
648 | help | ||
649 | Selecting this option will enable a DMAR device at boot time if | ||
650 | one is found. If this option is not selected, DMAR support can | ||
651 | be enabled by passing intel_iommu=on to the kernel. It is | ||
652 | recommended you say N here while the DMAR code remains | ||
653 | experimental. | ||
654 | |||
644 | endmenu | 655 | endmenu |
645 | 656 | ||
646 | endif | 657 | endif |
diff --git a/arch/ia64/kernel/iosapic.c b/arch/ia64/kernel/iosapic.c index 5cfd3d91001a..e13125058bed 100644 --- a/arch/ia64/kernel/iosapic.c +++ b/arch/ia64/kernel/iosapic.c | |||
@@ -507,7 +507,7 @@ static int iosapic_find_sharable_irq(unsigned long trigger, unsigned long pol) | |||
507 | if (trigger == IOSAPIC_EDGE) | 507 | if (trigger == IOSAPIC_EDGE) |
508 | return -EINVAL; | 508 | return -EINVAL; |
509 | 509 | ||
510 | for (i = 0; i <= NR_IRQS; i++) { | 510 | for (i = 0; i < NR_IRQS; i++) { |
511 | info = &iosapic_intr_info[i]; | 511 | info = &iosapic_intr_info[i]; |
512 | if (info->trigger == trigger && info->polarity == pol && | 512 | if (info->trigger == trigger && info->polarity == pol && |
513 | (info->dmode == IOSAPIC_FIXED || | 513 | (info->dmode == IOSAPIC_FIXED || |
diff --git a/arch/ia64/kernel/unwind.c b/arch/ia64/kernel/unwind.c index 67810b77d998..b6c0e63a0bf6 100644 --- a/arch/ia64/kernel/unwind.c +++ b/arch/ia64/kernel/unwind.c | |||
@@ -2149,7 +2149,7 @@ unw_remove_unwind_table (void *handle) | |||
2149 | 2149 | ||
2150 | /* next, remove hash table entries for this table */ | 2150 | /* next, remove hash table entries for this table */ |
2151 | 2151 | ||
2152 | for (index = 0; index <= UNW_HASH_SIZE; ++index) { | 2152 | for (index = 0; index < UNW_HASH_SIZE; ++index) { |
2153 | tmp = unw.cache + unw.hash[index]; | 2153 | tmp = unw.cache + unw.hash[index]; |
2154 | if (unw.hash[index] >= UNW_CACHE_SIZE | 2154 | if (unw.hash[index] >= UNW_CACHE_SIZE |
2155 | || tmp->ip < table->start || tmp->ip >= table->end) | 2155 | || tmp->ip < table->start || tmp->ip >= table->end) |