Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
Merge upstream tree in order to reinstate crct10dif.
This commit is contained in:
@@ -236,14 +236,14 @@ static int ati_configure(void)
|
||||
static int agp_ati_suspend(struct pci_dev *dev, pm_message_t state)
|
||||
{
|
||||
pci_save_state(dev);
|
||||
pci_set_power_state(dev, 3);
|
||||
pci_set_power_state(dev, PCI_D3hot);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int agp_ati_resume(struct pci_dev *dev)
|
||||
{
|
||||
pci_set_power_state(dev, 0);
|
||||
pci_set_power_state(dev, PCI_D0);
|
||||
pci_restore_state(dev);
|
||||
|
||||
return ati_configure();
|
||||
|
||||
@@ -603,7 +603,8 @@ static int agp_mmap(struct file *file, struct vm_area_struct *vma)
|
||||
vma->vm_ops = kerninfo.vm_ops;
|
||||
} else if (io_remap_pfn_range(vma, vma->vm_start,
|
||||
(kerninfo.aper_base + offset) >> PAGE_SHIFT,
|
||||
size, vma->vm_page_prot)) {
|
||||
size,
|
||||
pgprot_writecombine(vma->vm_page_prot))) {
|
||||
goto out_again;
|
||||
}
|
||||
mutex_unlock(&(agp_fe.agp_mutex));
|
||||
@@ -618,8 +619,9 @@ static int agp_mmap(struct file *file, struct vm_area_struct *vma)
|
||||
if (kerninfo.vm_ops) {
|
||||
vma->vm_ops = kerninfo.vm_ops;
|
||||
} else if (io_remap_pfn_range(vma, vma->vm_start,
|
||||
kerninfo.aper_base >> PAGE_SHIFT,
|
||||
size, vma->vm_page_prot)) {
|
||||
kerninfo.aper_base >> PAGE_SHIFT,
|
||||
size,
|
||||
pgprot_writecombine(vma->vm_page_prot))) {
|
||||
goto out_again;
|
||||
}
|
||||
mutex_unlock(&(agp_fe.agp_mutex));
|
||||
|
||||
@@ -399,8 +399,8 @@ static void agp_nvidia_remove(struct pci_dev *pdev)
|
||||
#ifdef CONFIG_PM
|
||||
static int agp_nvidia_suspend(struct pci_dev *pdev, pm_message_t state)
|
||||
{
|
||||
pci_save_state (pdev);
|
||||
pci_set_power_state (pdev, 3);
|
||||
pci_save_state(pdev);
|
||||
pci_set_power_state(pdev, PCI_D3hot);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -408,7 +408,7 @@ static int agp_nvidia_suspend(struct pci_dev *pdev, pm_message_t state)
|
||||
static int agp_nvidia_resume(struct pci_dev *pdev)
|
||||
{
|
||||
/* set power state 0 and restore PCI space */
|
||||
pci_set_power_state (pdev, 0);
|
||||
pci_set_power_state(pdev, PCI_D0);
|
||||
pci_restore_state(pdev);
|
||||
|
||||
/* reconfigure AGP hardware again */
|
||||
|
||||
@@ -167,7 +167,7 @@ config HW_RANDOM_OMAP
|
||||
|
||||
config HW_RANDOM_OCTEON
|
||||
tristate "Octeon Random Number Generator support"
|
||||
depends on HW_RANDOM && CPU_CAVIUM_OCTEON
|
||||
depends on HW_RANDOM && CAVIUM_OCTEON_SOC
|
||||
default HW_RANDOM
|
||||
---help---
|
||||
This driver provides kernel-side support for the Random Number
|
||||
|
||||
@@ -479,6 +479,7 @@ int tp3780I_QueryAbilities(THINKPAD_BD_DATA * pBDData, MW_ABILITIES * pAbilities
|
||||
PRINTK_2(TRACE_TP3780I,
|
||||
"tp3780i::tp3780I_QueryAbilities entry pBDData %p\n", pBDData);
|
||||
|
||||
memset(pAbilities, 0, sizeof(*pAbilities));
|
||||
/* fill out standard constant fields */
|
||||
pAbilities->instr_per_sec = pBDData->rDspSettings.uIps;
|
||||
pAbilities->data_size = pBDData->rDspSettings.uDStoreSize;
|
||||
|
||||
Reference in New Issue
Block a user