diff options
author | Borislav Petkov <bp@suse.de> | 2013-03-21 17:16:57 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-04-10 12:39:08 (GMT) |
commit | 5952886bfeec065041d04dfcc2693b581e8f2424 (patch) | |
tree | ad933521904188465cf9c032f8b086caa67b1af8 /arch/m32r/boot | |
parent | ec7fd34425f6536ed4b3548e7aa712ee2718189c (diff) | |
download | linux-fsl-qoriq-5952886bfeec065041d04dfcc2693b581e8f2424.tar.xz |
x86/mm/cpa: Cleanup split_large_page() and its callee
So basically we're generating the pte_t * from a struct page and
we're handing it down to the __split_large_page() internal version
which then goes and gets back struct page * from it because it
needs it.
Change the caller to hand down struct page * directly and the
callee can compute the pte_t itself.
Net save is one virt_to_page() call and simpler code. While at
it, make __split_large_page() static.
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1363886217-24703-1-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/m32r/boot')
0 files changed, 0 insertions, 0 deletions