Simplified and generalized code for processing in-tree kernel patches.