[PATCH] fix warning with CONFIG_PROFILING=y

From: John Levon <levon_at_movementarian.org>
Date: 2003-10-07 07:18:15
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
diff -u -a -p -r1.5 profile.h
--- linux-ia64/include/linux/profile.h	7 Mar 2003 15:39:16 -0000	1.5
+++ linux-ia64/include/linux/profile.h	6 Oct 2003 19:20:58 -0000
@@ -48,6 +48,8 @@ int profile_event_unregister(enum profil
 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);
 
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Oct 6 17:22:01 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:19 EST