mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
sched: fix fastcall mismatch in completion APIs
Jeff Dike noticed that wait_for_completion_interruptible()'s prototype had a mismatched fastcall. Fix this by removing the fastcall attributes from all the completion APIs. Found-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
7378547f2c
commit
b15136e949
2 changed files with 13 additions and 13 deletions
|
@ -42,15 +42,15 @@ static inline void init_completion(struct completion *x)
|
|||
init_waitqueue_head(&x->wait);
|
||||
}
|
||||
|
||||
extern void FASTCALL(wait_for_completion(struct completion *));
|
||||
extern int FASTCALL(wait_for_completion_interruptible(struct completion *x));
|
||||
extern unsigned long FASTCALL(wait_for_completion_timeout(struct completion *x,
|
||||
unsigned long timeout));
|
||||
extern unsigned long FASTCALL(wait_for_completion_interruptible_timeout(
|
||||
struct completion *x, unsigned long timeout));
|
||||
extern void wait_for_completion(struct completion *);
|
||||
extern int wait_for_completion_interruptible(struct completion *x);
|
||||
extern unsigned long wait_for_completion_timeout(struct completion *x,
|
||||
unsigned long timeout);
|
||||
extern unsigned long wait_for_completion_interruptible_timeout(
|
||||
struct completion *x, unsigned long timeout);
|
||||
|
||||
extern void FASTCALL(complete(struct completion *));
|
||||
extern void FASTCALL(complete_all(struct completion *));
|
||||
extern void complete(struct completion *);
|
||||
extern void complete_all(struct completion *);
|
||||
|
||||
#define INIT_COMPLETION(x) ((x).done = 0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue