x86, gart: Convert spaces to tabs in enable_gart_translation
Probably by copy&paste this function was indented by spaces. Convert this to tabs. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Link: http://lkml.kernel.org/r/1303134346-5805-3-git-send-email-joerg.roedel@amd.com Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
committed by
H. Peter Anvin
parent
a1b49cb7e2
commit
af289bfe15
@@ -75,17 +75,17 @@ static inline void enable_gart_translation(struct pci_dev *dev, u64 addr)
|
|||||||
{
|
{
|
||||||
u32 tmp, ctl;
|
u32 tmp, ctl;
|
||||||
|
|
||||||
/* address of the mappings table */
|
/* address of the mappings table */
|
||||||
addr >>= 12;
|
addr >>= 12;
|
||||||
tmp = (u32) addr<<4;
|
tmp = (u32) addr<<4;
|
||||||
tmp &= ~0xf;
|
tmp &= ~0xf;
|
||||||
pci_write_config_dword(dev, AMD64_GARTTABLEBASE, tmp);
|
pci_write_config_dword(dev, AMD64_GARTTABLEBASE, tmp);
|
||||||
|
|
||||||
/* Enable GART translation for this hammer. */
|
/* Enable GART translation for this hammer. */
|
||||||
pci_read_config_dword(dev, AMD64_GARTAPERTURECTL, &ctl);
|
pci_read_config_dword(dev, AMD64_GARTAPERTURECTL, &ctl);
|
||||||
ctl |= GARTEN;
|
ctl |= GARTEN;
|
||||||
ctl &= ~(DISGARTCPU | DISGARTIO);
|
ctl &= ~(DISGARTCPU | DISGARTIO);
|
||||||
pci_write_config_dword(dev, AMD64_GARTAPERTURECTL, ctl);
|
pci_write_config_dword(dev, AMD64_GARTAPERTURECTL, ctl);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size)
|
static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size)
|
||||||
|
Reference in New Issue
Block a user