Skip to content

Commit

Permalink
Add SC_LEVEL1_DCACHE_LINESIZ definition
Browse files Browse the repository at this point in the history
Signed-off-by: gaulthier gain <[email protected]>
Tested-by: Unikraft CI <[email protected]>
GitHub-Pull-Request: unikraft#3
  • Loading branch information
gaulthiergain authored and unikraft-bot committed Oct 13, 2021
1 parent 04c1904 commit 4da3806
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions patches/0010-add-SC_LEVEL1_DCACHE_LINESIZE-unistd_h.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From 1ea6a69be49facc99b969831a4e27e954ae05da5 Mon Sep 17 00:00:00 2001
From: gaulthier gain <[email protected]>
Date: Tue, 6 Oct 2020 07:55:19 +0000
Subject: [UNIKRAFT/MUSL] Add _SC_LEVEL1_DCACHE_LINESIZE to unistd

Signed-off-by: gaulthier gain <[email protected]>
---
include/unistd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/unistd.h b/include/unistd.h
index 6ee0f1f..452f004 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -250,7 +250,7 @@ int eaccess(const char *, int);

#include <bits/posix.h>

-
+#define _SC_LEVEL1_DCACHE_LINESIZE 130

#define _PC_LINK_MAX 0
#define _PC_MAX_CANON 1
--
2.17.1

0 comments on commit 4da3806

Please sign in to comment.