aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2013-03-21 18:16:57 +0100
committerIngo Molnar <[email protected]>2013-04-10 14:39:08 +0200
commit5952886bfeec065041d04dfcc2693b581e8f2424 (patch)
treead933521904188465cf9c032f8b086caa67b1af8 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentec7fd34425f6536ed4b3548e7aa712ee2718189c (diff)
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 <[email protected]> Acked-by: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions