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)
commit26298264a5de6d46d6e872dfd4c5d14c3011666f
tree57648e0046fdb85aaaaaa27c445a0fda2e76273a
parent0d84366fbef557f92ef82ac9a224c57ffb3318bc
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