On Fri, Mar 26, 2010 at 03:43:30PM +0530, Viresh KUMAR wrote: > irq.h is using struct pt_regs *. Due to this compilation > warning is comming. Removing this warning by adding declaration > of struct pt_regs. That's badly placed. Please re-read the file and place it in a more appropriate location.