Total hip arthroplasty for osteonecrosis.