(AP) The Buffalo Bills have signed linebacker Keith Rivers to a two-year deal for $5 million. Rivers was selected ninth overall in the 2008 draft by Cincinnati and spent his first four seasons with the Bengals. After missing the entire 2011 season because of a wrist injury, Rivers spent the past two years with the New York Giants, where he had 14 starts in 27 games.

Rivers joins a linebacker unit that's in flux under new coordinator Jim Schwartz, who took over after Mike Pettine left to become the Cleveland Browns head coach. The Bills stand to lose Arthur Moats in free agency and have only two starters returning: veteran Manny Lawson and Kiko Alonso, who is coming off a solid rookie season.

Schwartz is also planning to have Alonso switch from the middle to an outside spot, believing it better suits his abilities.