summaryrefslogtreecommitdiffstats
path: root/libs/libucontext/patches/001-fix-ppc-build.patch
blob: d0517bf79b4b37e2383cfad6fa59910f793547e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Aditya Nugraha <vortexilation@gmail.com>
Date:   Wed Jul 10 22:49:00 2026 +0700
Subject: [PATCH] Fixed ppc compilation

    Fixed ppc compilation for KERNEL_UAPI_UCONTEXT_SIZE is not found.

    Signed-off-by: Aditya Nugraha <vortexilation@gmail.com>

--- a/arch/ppc/defs.h
+++ b/arch/ppc/defs.h
@@ -1,7 +1,7 @@
 #ifndef __ARCH_PPC_DEFS_H
 #define __ARCH_PPC_DEFS_H
 
-#define KERNEL_UAPI_CONTEXT_SIZE (1184)
+#define KERNEL_UAPI_UCONTEXT_SIZE (1184)
 
 #define REG_R0		(0)
 #define REG_R1		(1)