x86: cpa move the flush into set and clear functions