Commit 4897313a authored by Tony Luck's avatar Tony Luck

Pull misc-2.6.39 into release branch

parents 521cb40b b4a6b343
...@@ -233,3 +233,4 @@ CONFIG_CRYPTO_PCBC=m ...@@ -233,3 +233,4 @@ CONFIG_CRYPTO_PCBC=m
CONFIG_CRYPTO_MD5=y CONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_ANSI_CPRNG is not set # CONFIG_CRYPTO_ANSI_CPRNG is not set
CONFIG_CRC_T10DIF=y CONFIG_CRC_T10DIF=y
CONFIG_MISC_DEVICES=y
...@@ -208,3 +208,4 @@ CONFIG_MAGIC_SYSRQ=y ...@@ -208,3 +208,4 @@ CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_KERNEL=y CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_MUTEXES=y CONFIG_DEBUG_MUTEXES=y
CONFIG_CRYPTO_MD5=y CONFIG_CRYPTO_MD5=y
CONFIG_MISC_DEVICES=y
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
#define ARCH_HAS_DMA_GET_REQUIRED_MASK #define ARCH_HAS_DMA_GET_REQUIRED_MASK
#define DMA_ERROR_CODE 0
extern struct dma_map_ops *dma_ops; extern struct dma_map_ops *dma_ops;
extern struct ia64_machine_vector ia64_mv; extern struct ia64_machine_vector ia64_mv;
extern void set_iommu_machvec(void); extern void set_iommu_machvec(void);
......
...@@ -582,6 +582,8 @@ ia64_mca_cpe_int_handler (int cpe_irq, void *arg) ...@@ -582,6 +582,8 @@ ia64_mca_cpe_int_handler (int cpe_irq, void *arg)
/* Get the CPE error record and log it */ /* Get the CPE error record and log it */
ia64_mca_log_sal_error_record(SAL_INFO_TYPE_CPE); ia64_mca_log_sal_error_record(SAL_INFO_TYPE_CPE);
local_irq_disable();
return IRQ_HANDLED; return IRQ_HANDLED;
} }
...@@ -1859,7 +1861,8 @@ ia64_mca_cpu_init(void *cpu_data) ...@@ -1859,7 +1861,8 @@ ia64_mca_cpu_init(void *cpu_data)
data = mca_bootmem(); data = mca_bootmem();
first_time = 0; first_time = 0;
} else } else
data = __get_free_pages(GFP_KERNEL, get_order(sz)); data = (void *)__get_free_pages(GFP_KERNEL,
get_order(sz));
if (!data) if (!data)
panic("Could not allocate MCA memory for cpu %d\n", panic("Could not allocate MCA memory for cpu %d\n",
cpu); cpu);
......
...@@ -592,7 +592,7 @@ void __cpuinit sn_cpu_init(void) ...@@ -592,7 +592,7 @@ void __cpuinit sn_cpu_init(void)
/* /*
* Don't check status. The SAL call is not supported on all PROMs * Don't check status. The SAL call is not supported on all PROMs
* but a failure is harmless. * but a failure is harmless.
* Architechtuallly, cpu_init is always called twice on cpu 0. We * Architecturally, cpu_init is always called twice on cpu 0. We
* should set cpu_number on cpu 0 once. * should set cpu_number on cpu 0 once.
*/ */
if (cpuid == 0) { if (cpuid == 0) {
......
...@@ -509,7 +509,7 @@ tioca_dma_unmap(struct pci_dev *pdev, dma_addr_t bus_addr, int dir) ...@@ -509,7 +509,7 @@ tioca_dma_unmap(struct pci_dev *pdev, dma_addr_t bus_addr, int dir)
* use the GART mapped mode. * use the GART mapped mode.
*/ */
static u64 static u64
tioca_dma_map(struct pci_dev *pdev, u64 paddr, size_t byte_count, int dma_flags) tioca_dma_map(struct pci_dev *pdev, unsigned long paddr, size_t byte_count, int dma_flags)
{ {
u64 mapaddr; u64 mapaddr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment