Skip to content

Commit 06d7fe8

Browse files
JordanYatesaescolar
authored andcommitted
arch: update USERSPACE dependencies
These symbols only need to exist if `USERSPACE` is enabled, not just if the architecture supports it. Signed-off-by: Jordan Yates <jordan@embeint.com>
1 parent 1972a3f commit 06d7fe8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/Kconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ config PRIVILEGED_STACK_SIZE
317317
int "Size of privileged stack"
318318
default 2048 if EMUL
319319
default 1024
320-
depends on ARCH_HAS_USERSPACE
320+
depends on USERSPACE
321321
help
322322
This option sets the privileged stack region size that will be used
323323
in addition to the user mode thread stack. During normal execution,
@@ -331,14 +331,14 @@ config KOBJECT_TEXT_AREA
331331
default 512 if NO_OPTIMIZATIONS
332332
default 512 if STACK_CANARIES && RISCV
333333
default 256
334-
depends on ARCH_HAS_USERSPACE
334+
depends on USERSPACE
335335
help
336336
Size of kernel object text area. Used in linker script.
337337

338338
config KOBJECT_DATA_AREA_RESERVE_EXTRA_PERCENT
339339
int "Reserve extra kobject data area (in percentage)"
340340
default 100
341-
depends on ARCH_HAS_USERSPACE
341+
depends on USERSPACE
342342
help
343343
Multiplication factor used to calculate the size of placeholder to
344344
reserve space for kobject metadata hash table. The hash table is
@@ -352,7 +352,7 @@ config KOBJECT_DATA_AREA_RESERVE_EXTRA_PERCENT
352352
config KOBJECT_RODATA_AREA_EXTRA_BYTES
353353
int "Reserve extra bytes for kobject rodata area"
354354
default 16
355-
depends on ARCH_HAS_USERSPACE
355+
depends on USERSPACE
356356
help
357357
Reserve a few more bytes for the RODATA region for kobject metadata.
358358
This is to account for the uncertainty of tables generated by gperf.

0 commit comments

Comments
 (0)