The second argument of function pointer "fiq" in fiq_glue_handler
is declared as "void *", but function, fiq_debugger_fiq, which is
assigned to that function pointer later on, has a different function
signature. Fix the function pointer declaration to make them
consistent.
Change-Id: I246fa1ef9a609c810ab562e45814803c85185968
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/591322
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
#define _LINUX_FIQ_GLUE_H
struct fiq_glue_handler {
- void (*fiq)(struct fiq_glue_handler *h, void *regs, void *svc_sp);
+ void (*fiq)(struct fiq_glue_handler *h, const struct pt_regs *regs,
+ void *svc_sp);
void (*resume)(struct fiq_glue_handler *h);
};
typedef void (*fiq_return_handler_t)(void);