Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
94173f68
Commit
94173f68
authored
Jun 17, 2002
by
Matthew Wilcox
Committed by
Linus Torvalds
Jun 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Remove sync_timers
Nobody's using it any more, kill:
parent
4f9d90c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
7 deletions
+0
-7
include/linux/timer.h
include/linux/timer.h
+0
-2
kernel/timer.c
kernel/timer.c
+0
-5
No files found.
include/linux/timer.h
View file @
94173f68
...
@@ -25,10 +25,8 @@ extern int del_timer(struct timer_list * timer);
...
@@ -25,10 +25,8 @@ extern int del_timer(struct timer_list * timer);
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
extern
int
del_timer_sync
(
struct
timer_list
*
timer
);
extern
int
del_timer_sync
(
struct
timer_list
*
timer
);
extern
void
sync_timers
(
void
);
#else
#else
#define del_timer_sync(t) del_timer(t)
#define del_timer_sync(t) del_timer(t)
#define sync_timers() do { } while (0)
#endif
#endif
/*
/*
...
...
kernel/timer.c
View file @
94173f68
...
@@ -232,11 +232,6 @@ int del_timer(struct timer_list * timer)
...
@@ -232,11 +232,6 @@ int del_timer(struct timer_list * timer)
}
}
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
void
sync_timers
(
void
)
{
spin_unlock_wait
(
&
global_bh_lock
);
}
/*
/*
* SMP specific function to delete periodic timer.
* SMP specific function to delete periodic timer.
* Caller must disable by some means restarting the timer
* Caller must disable by some means restarting the timer
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment