Add Linux compatibility header stubs needed to compile extents_status.c: - backing-dev.h: Backing device info stub - dax.h: Direct Access (DAX) stubs - iomap.h: I/O mapping operations and structures - mman.h: Memory mapping flags - mount.h: VFS mount structures - pagevec.h: Page vector batching - pfn_t.h: Page frame number type - posix_acl_xattr.h: POSIX ACL xattr definitions - proc_fs.h: Proc filesystem stub - uio.h: User I/O vector definitions - xattr.h: Extended attributes - trace/events/ext4.h: Trace event stubs Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com>
20 lines
463 B
C
20 lines
463 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef _LINUX_SEQ_FILE_H
|
|
#define _LINUX_SEQ_FILE_H
|
|
|
|
/*
|
|
* Stub definitions for seq_file interface.
|
|
* U-Boot doesn't use /proc filesystem.
|
|
*/
|
|
|
|
struct seq_file {
|
|
void *private;
|
|
};
|
|
|
|
#define seq_printf(m, fmt, ...) \
|
|
do { (void)(m); (void)(fmt); } while (0)
|
|
#define seq_puts(m, s) do { (void)(m); (void)(s); } while (0)
|
|
#define seq_putc(m, c) do { (void)(m); (void)(c); } while (0)
|
|
|
|
#endif /* _LINUX_SEQ_FILE_H */
|