diff options
Diffstat (limited to 'common/startup.c')
-rw-r--r-- | common/startup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/startup.c b/common/startup.c index 4a303b297a..093a23ba08 100644 --- a/common/startup.c +++ b/common/startup.c @@ -60,6 +60,11 @@ static int mount_root(void) mount("none", "efivarfs", "/efivars", NULL); } + if (IS_ENABLED(CONFIG_FS_PSTORE)) { + mkdir("/pstore", 0); + mount("none", "pstore", "/pstore", NULL); + } + return 0; } fs_initcall(mount_root); |