Palladium-catalyzed rearrangement/arylation of 2-allyloxypyridine leading to the synthesis of N-substituted 2-pyridones.