ext4l: Add linux/utsname.h stub header

Add a stub header for linux/utsname.h needed by mmp.c and other
ext4 files.

Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
Simon Glass
2025-12-18 16:43:32 -07:00
parent 8558bdc0e2
commit b4c072fee4

21
include/linux/utsname.h Normal file
View File

@@ -0,0 +1,21 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_UTSNAME_H
#define _LINUX_UTSNAME_H
/* Stub for linux/utsname.h */
struct new_utsname {
char sysname[65];
char nodename[65];
char release[65];
char version[65];
char machine[65];
char domainname[65];
};
struct uts_namespace {
struct new_utsname name;
};
extern struct uts_namespace init_uts_ns;
#endif /* _LINUX_UTSNAME_H */