sched: schedule after vfs_read error -EGAIN
This commit is contained in:
parent
6fdccef0ea
commit
86041e90e4
5 changed files with 28 additions and 1 deletions
15
include/kernel/char.h
Normal file
15
include/kernel/char.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef _CHAR_H_
|
||||
#define _CHAR_H_
|
||||
|
||||
#include <kernel/common.h>
|
||||
#include <kernel/proc.h>
|
||||
|
||||
struct char_queue {
|
||||
char *buf;
|
||||
size_t size;
|
||||
struct proc *proc;
|
||||
struct char_queue *next;
|
||||
};
|
||||
|
||||
#endif /* _CHAR_H_ */
|
||||
Loading…
Reference in a new issue