diff options
author | Tim Deegan <Tim.Deegan@citrix.com> | 2011-05-26 12:37:47 +0100 |
---|---|---|
committer | Tim Deegan <Tim.Deegan@citrix.com> | 2011-05-26 12:37:47 +0100 |
commit | 093e1d2484fc46ec73e527c03af79664218045df (patch) | |
tree | 4ac0109f7f6d91c8c24a62bfdd20dc44e5370e9d /xen/include/xen/spinlock.h | |
parent | de4bf084c8dc232a629e436ccd0ce989da8c470e (diff) | |
download | xen-093e1d2484fc46ec73e527c03af79664218045df.tar.gz xen-093e1d2484fc46ec73e527c03af79664218045df.tar.bz2 xen-093e1d2484fc46ec73e527c03af79664218045df.zip |
xen: remove extern function declarations from C files.
Move all extern declarations into appropriate header files.
This also fixes up a few places where the caller and the definition
had different signatures.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'xen/include/xen/spinlock.h')
-rw-r--r-- | xen/include/xen/spinlock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/include/xen/spinlock.h b/xen/include/xen/spinlock.h index dd1550ca58..6400c2b616 100644 --- a/xen/include/xen/spinlock.h +++ b/xen/include/xen/spinlock.h @@ -98,6 +98,10 @@ void _lock_profile_deregister_struct(int32_t, struct lock_profile_qhead *); #define lock_profile_deregister_struct(type, ptr) \ _lock_profile_deregister_struct(type, &((ptr)->profile_head)) +extern int spinlock_profile_control(xen_sysctl_lockprof_op_t *pc); +extern void spinlock_profile_printall(unsigned char key); +extern void spinlock_profile_reset(unsigned char key); + #else struct lock_profile { }; |