mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 05:40:55 +07:00
14ebc28e07
- Move errseq.rst into core-api - Add errseq to the core-api index - Promote the header to a more prominent header type, otherwise we get three entries in the table of contents. - Reformat the table to look nicer and be a little more proportional in terms of horizontal width per bit (the SF bit is still disproportionately large, but there's no way to fix that). - Include errseq kernel-doc in the errseq.rst - Neaten some kernel-doc markup Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
15 lines
382 B
C
15 lines
382 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* See Documentation/core-api/errseq.rst and lib/errseq.c
|
|
*/
|
|
#ifndef _LINUX_ERRSEQ_H
|
|
#define _LINUX_ERRSEQ_H
|
|
|
|
typedef u32 errseq_t;
|
|
|
|
errseq_t errseq_set(errseq_t *eseq, int err);
|
|
errseq_t errseq_sample(errseq_t *eseq);
|
|
int errseq_check(errseq_t *eseq, errseq_t since);
|
|
int errseq_check_and_advance(errseq_t *eseq, errseq_t *since);
|
|
#endif
|