I am trying to compile USB webcam driver (which works fine with RH 9.0 linux 2.4.20-8 kernel) with montavista linux for IBM PPC405 architecture. The header file asm/current.h is giving error as "Invalid register name for 'current'". Header file current.h has only one statement :
register struct task_struct *current asm ("r2"); I don't have any clue what is the problem in this statement. Please help me out. Thanks Leena Vachhani