[PATCH 1/2] Whitespace cleanup in pageattr.c
From: Zachary Amsden (zach_at_vmware.com)
Date: 08/31/05
- Previous message: Jose Luis Domingo Lopez: "Re: [ANNOUNCE] DSFS Network Forensic File System for Linux Patches"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Aug 2005 14:50:51 -0700 To: Andrew Morton <akpm@osdl.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Virtualization Mailing List <virtualization@lists.osdl.org>, "H. Peter Anvin" <hpa@zytor.com>, Zwane Mwaikambo <zwane@arm.linux.org.uk>, Chris Wright <chrisw@osdl.org>, Martin Bligh <mbligh@mbligh.org>, Pratap Subrahmanyam <pratap@vmware.com>, Christopher Li <chrisl@vmware.com>, Zachary Amsden <zach@vmware.com>, Zachary Amsden <zach@vmware.com>
This highly technical change allows the kernel to jump atop the Eiffel Tower,
fly with acceleration fifty times that of a space shuttle, and ingest 15 times
its own weight.
Patch-subject: Whitespace cleanup in pageattr.c
Depends-on: add-pgtable-allocation-notifiers
Signed-off-by: Zachary Amsden <zach@vmware.com>
Index: linux-2.6.13/arch/i386/mm/pageattr.c
===================================================================
--- linux-2.6.13.orig/arch/i386/mm/pageattr.c 2005-08-31 14:41:45.000000000 -0700
+++ linux-2.6.13/arch/i386/mm/pageattr.c 2005-08-31 14:41:49.000000000 -0700
@@ -33,7 +33,7 @@ pte_t *lookup_address(unsigned long addr
return NULL;
if (pmd_large(*pmd))
return (pte_t *)pmd;
- return pte_offset_kernel(pmd, address);
+ return pte_offset_kernel(pmd, address);
}
static struct page *split_large_page(unsigned long address, pgprot_t prot)
@@ -54,8 +54,8 @@ static struct page *split_large_page(uns
pbase = (pte_t *)page_address(base);
SetPagePTE(virt_to_page(pbase));
for (i = 0; i < PTRS_PER_PTE; i++, addr += PAGE_SIZE) {
- set_pte(&pbase[i], pfn_pte(addr >> PAGE_SHIFT,
- addr == address ? prot : PAGE_KERNEL));
+ set_pte(&pbase[i], pfn_pte(addr >> PAGE_SHIFT,
+ addr == address ? prot : PAGE_KERNEL));
}
return base;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Jose Luis Domingo Lopez: "Re: [ANNOUNCE] DSFS Network Forensic File System for Linux Patches"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: syscall: sys_promote
... > Bernd Petrovitsch wrote: ... >>every tool may become a security
problem. ... I didn't realize that you are working on Space Shuttle ... send
the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - DRI (was Re: OpenOffice crashes due to incorrect access permissions on /dev/dri/card*)
... XAA is normally used for 2D acceleration. ... the hardware without
the kernel's involvement. ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: radeon-pre-2
... Zillions of drivers provide multiple ... > are as different as IDE CD and
IDE disk if not more so. ... dedicated 2D acceleration engine is rapidly becoming
history. ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: radeon-pre-2
... > stop saying this, it isn't true and hasn't been for years, for the mach64 ...
> acceleration and you have to use it for all 3d acceleration normally, ... attach,
but can also have other sets for attaching different client ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel) - Re: code bloat [was Re: Semaphore assembly-code bug]
... >> FBUI does not have 3d acceleration? ... might not software 3d
open the kernel up to ... send the line "unsubscribe linux-kernel" in ...
(Linux-Kernel)