projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97bfda4
)
parisc: is_compat_task() shall return false for COMPAT=n
author
Helge Deller
<deller@gmx.de>
Tue, 7 Apr 2026 22:03:41 +0000
(
00:03
+0200)
committer
Helge Deller
<deller@gmx.de>
Fri, 17 Apr 2026 13:46:45 +0000
(15:46 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/compat.h
patch
|
blob
|
history
diff --git
a/arch/parisc/include/asm/compat.h
b/arch/parisc/include/asm/compat.h
index
339d1b8
..
13a5a55
100644
(file)
--- a/
arch/parisc/include/asm/compat.h
+++ b/
arch/parisc/include/asm/compat.h
@@
-130,7
+130,7
@@
typedef compat_ulong_t compat_elf_gregset_t[COMPAT_ELF_NGREG];
static inline int __is_compat_task(struct task_struct *t)
{
- return test_tsk_thread_flag(t, TIF_32BIT);
+ return
IS_ENABLED(CONFIG_COMPAT) &&
test_tsk_thread_flag(t, TIF_32BIT);
}
static inline int is_compat_task(void)