mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
There is only one waiter for the completion, therefore there is no need
to use complete_all(). Let's make that clear by using complete() instead
of complete_all().
The usage pattern of the completion is:
waiter context waker context
sym_eh_handler()
struct completion eh_done
init_completion(eh_done)
pci_channel_offline()
wait_for_completion_timeout(eh_done)
sym2_io_resume()
complete(eh_done)
Signed-off-by: Daniel Wagner <daniel.wagner@bmw-carit.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| sym53c8xx.h | ||
| sym_defs.h | ||
| sym_fw1.h | ||
| sym_fw2.h | ||
| sym_fw.c | ||
| sym_fw.h | ||
| sym_glue.c | ||
| sym_glue.h | ||
| sym_hipd.c | ||
| sym_hipd.h | ||
| sym_malloc.c | ||
| sym_misc.h | ||
| sym_nvram.c | ||
| sym_nvram.h | ||