From d37a8f363dbeb68b6654a9b264c41439ad9e1c40 Mon Sep 17 00:00:00 2001 From: John Levon Date: Mon, 6 Oct 2003 00:52:43 -0700 Subject: [PATCH] [PATCH] fix warning with CONFIG_PROFILING=y Needs a forward declaration of struct pt_regs --- include/linux/profile.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/profile.h b/include/linux/profile.h index 0fe134441a306..7593cb26969da 100644 --- a/include/linux/profile.h +++ b/include/linux/profile.h @@ -48,6 +48,8 @@ int profile_event_unregister(enum profile_type, struct notifier_block * n); int 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); -- 2.53.0