fix warning with CONFIG_PROFILING=y
PATCH 1/1 fix warning with CONFIG_PROFILING=y
Needs a forward declaration of struct pt_regs in Linus's current tree.
regards
john
Index: linux-ia64/include/linux/profile.h =================================RCS file: /home/cvs/linux-2.5/include/linux/profile.h,v retrieving revision 1.5
include/linux/profile.h +2 -0
@@ -48,6 +48,8 @@ int profile_event_unregister(enum profilint register_profile_notifier (struct notifier_block * nb);int unregister_profile_notifier (struct notifier_block * nb); +struct pt_regs ; +/* profiling hook activated on each timer interrupt */ void profile_hook (struct pt_regs * regs);