Commit d37a8f36 authored by John Levon's avatar John Levon Committed by Linus Torvalds

[PATCH] fix warning with CONFIG_PROFILING=y

Needs a forward declaration of struct pt_regs
parent 13ea5e83
...@@ -48,6 +48,8 @@ int profile_event_unregister(enum profile_type, struct notifier_block * n); ...@@ -48,6 +48,8 @@ int profile_event_unregister(enum profile_type, struct notifier_block * n);
int register_profile_notifier(struct notifier_block * nb); int register_profile_notifier(struct notifier_block * nb);
int unregister_profile_notifier(struct notifier_block * nb); int unregister_profile_notifier(struct notifier_block * nb);
struct pt_regs;
/* profiling hook activated on each timer interrupt */ /* profiling hook activated on each timer interrupt */
void profile_hook(struct pt_regs * regs); void profile_hook(struct pt_regs * regs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment