mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
staging: gasket: page_table: rearrange gasket_page_table_entry
Rearrange gasket_page_table entry to reduce padding slop. Signed-off-by: Nick Ewalt <nicholasewalt@google.com> Signed-off-by: Todd Poynor <toddpoynor@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
efa5dcfa8f
commit
53f8a81d46
1 changed files with 6 additions and 6 deletions
|
@ -103,12 +103,6 @@ struct gasket_page_table_entry {
|
||||||
/* The status of this entry/slot: free or in use. */
|
/* The status of this entry/slot: free or in use. */
|
||||||
enum pte_status status;
|
enum pte_status status;
|
||||||
|
|
||||||
/* Address of the page in DMA space. */
|
|
||||||
dma_addr_t dma_addr;
|
|
||||||
|
|
||||||
/* Linux page descriptor for the page described by this structure. */
|
|
||||||
struct page *page;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Index for alignment into host vaddrs.
|
* Index for alignment into host vaddrs.
|
||||||
* When a user specifies a host address for a mapping, that address may
|
* When a user specifies a host address for a mapping, that address may
|
||||||
|
@ -119,6 +113,12 @@ struct gasket_page_table_entry {
|
||||||
*/
|
*/
|
||||||
int offset;
|
int offset;
|
||||||
|
|
||||||
|
/* Address of the page in DMA space. */
|
||||||
|
dma_addr_t dma_addr;
|
||||||
|
|
||||||
|
/* Linux page descriptor for the page described by this structure. */
|
||||||
|
struct page *page;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If this is an extended and first-level entry, sublevel points
|
* If this is an extended and first-level entry, sublevel points
|
||||||
* to the second-level entries underneath this entry.
|
* to the second-level entries underneath this entry.
|
||||||
|
|
Loading…
Reference in a new issue