diff options
| author | Haiyan Hu <[email protected]> | 2013-09-10 11:25:37 +0800 |
|---|---|---|
| committer | Matthew Wilcox <[email protected]> | 2013-11-18 17:10:51 -0500 |
| commit | b80d5ccca3a012e91ca64a2a0b13049163a6a698 (patch) | |
| tree | 97d64d8d70ecc42f04ee52023c636d84c05e7a21 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | 2d3c627502f2a9b0a7de06a5a2df2365542a72c9 (diff) | |
NVMe: Avoid shift operation when writing cq head doorbell
Changes the type of dev->db_stride to unsigned and changes the value
stored there to be 1 << the current value. Then there is less
calculation to be done at completion time.
Signed-off-by: Haiyan Hu <[email protected]>
Signed-off-by: Matthew Wilcox <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions