diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-03-16 16:52:19 -0400 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-11-04 15:53:01 -0400 |
commit | 9ecdc946212f7cd592986b2c519b470404caa6b8 (patch) | |
tree | 5d953e07ff82f8a97b5d4d5c14b0eb6db401d1a2 /arch/h8300/boot | |
parent | 3cb967c03926edd2c414082f4cc0feb7b372edae (diff) | |
download | op-kernel-dev-9ecdc946212f7cd592986b2c519b470404caa6b8.zip op-kernel-dev-9ecdc946212f7cd592986b2c519b470404caa6b8.tar.gz |
NVMe: Simplify queue lookup
Fill in all the num_possible_cpus() entries with duplicate pointers.
This reduces the complexity of the frequently-called get_nvmeq(), as
well as avoiding a bug in it when there are fewer queues than CPUs.
Reported-by: Shane Michael Matthews <shane.matthews@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'arch/h8300/boot')
0 files changed, 0 insertions, 0 deletions