summaryrefslogtreecommitdiffstats
path: root/arch/alpha/lib/ev6-csum_ipv6_magic.S
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-03-31 14:39:38 +1100
committerNeilBrown <neilb@suse.de>2009-03-31 14:39:38 +1100
commitb5663ba405fe3e51176ddb6c91a5e186590c26b5 (patch)
tree5eb8f009b97a02a90cf23db012588971c2f9aa0d /arch/alpha/lib/ev6-csum_ipv6_magic.S
parentdd8ac336c13fd8afdb082ebacb1cddd5cf727889 (diff)
downloadblackbird-op-linux-b5663ba405fe3e51176ddb6c91a5e186590c26b5.tar.gz
blackbird-op-linux-b5663ba405fe3e51176ddb6c91a5e186590c26b5.zip
md/raid5: simplify interface for init_stripe and get_active_stripe
Rather than passing 'pd_idx' and 'disks' to these functions, just pass 'previous' which tells whether to use the 'previous' or 'current' geometry during a reshape, and let init_stripe calculate disks and pd_idx and anything else it might need. This is not a substantial simplification and even adds a division. However we will shortly be adding more complexity to init_stripe to handle more interesting 'reshape' activities, and without this change, the interface to these functions would get very complex. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'arch/alpha/lib/ev6-csum_ipv6_magic.S')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud