The linear response of turbulent flow to an undulated wall