summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/head.S
diff options
context:
space:
mode:
authorMichal Nazarewicz <m.nazarewicz@samsung.com>2010-03-15 21:38:31 +0100
committerStephen Rothwell <sfr@canb.auug.org.au>2010-03-19 10:18:40 +1100
commit7454dd142849577e1ddffb6d44fd7672755bd8f1 (patch)
treeac57789afaf289203b8ffee458b88a2c2d8a5d54 /arch/s390/kernel/head.S
parent47e40ceac6b2d181e8143d4d0e2d952dfc5a017a (diff)
USB: f_mass_storage: dynamic buffers for better alignment
"Static" buffers in fsg_buffhd structure (ie. fields which are arrays rather then pointers to dynamically allocated memory) are not aligned to any "big" power of two which may lead to poor DMA performance (copying "by hand" of head or tail) or no DMA at all even if otherwise hardware supports it. Therefore, this patch makes mass storage function use kmalloc()ed buffers which are (because of their size) page aligned (which should be enough for any hardware). Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/s390/kernel/head.S')
0 files changed, 0 insertions, 0 deletions