]> git.baikalelectronics.ru Git - kernel.git/commit
isci: move task context alignment from run-time to compile time
authorDan Williams <dan.j.williams@intel.com>
Sun, 8 May 2011 02:07:14 +0000 (19:07 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:47 +0000 (04:04 -0700)
commit77da6818d7e3663fa3c2d8708071d0aa4c417f7c
tree57648e0046fdb85aaaaaa27c445a0fda2e76273a
parentc97ae7fe4c4b0de7da681f7ab857cdb96bc2adbc
isci: move task context alignment from run-time to compile time

Remove usage of PTR_ALIGN by arranging for the task context to be aligned by
the compiler.  Another step towards unifying isci_request and
scic_sds_request.  Once this is complete the task context in the request can
likely be removed in favor of building the task directly to tc memory (see:
scic_sds_controller_copy_task_context).  It's not clear why this needs to be
cacheline aligned if we just end up copying before submission...

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/core/scic_sds_request.c
drivers/scsi/isci/core/scic_sds_request.h
drivers/scsi/isci/core/scic_sds_smp_request.c
drivers/scsi/isci/core/scic_sds_stp_request.c