Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
Linux-Kernel Archive: [PATCH 1/2] powerpc: Add generic PAGE_SIZE config symbols [PATCH 1/2] powerpc: Add generic PAGE_SIZE config symbols From: Michael Ellerman Date: Thu May 05 2022 - 08:51:52 EST Next message: Guangbin Huang: "[PATCH net-next 5/5] net: hns3: add query vf ring and vector map relation" Previous message: Michael Ellerman: "[PATCH 2/2] arch/Kconfig: Drop references to powerpc PAGE_SIZE symbols" Next in thread: Michael Ellerman: "[PATCH 2/2] arch/Kconfig: Drop references to powerpc PAGE_SIZE symbols" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Other arches (sh, mips, hexagon) use standard names for PAGE_SIZE related config symbols. Add matching symbols for powerpc, which are enabled by default but depend on our architecture specific PAGE_SIZE symbols. This allows generic/driver code to express dependencies on the PAGE_SIZE without needing to refer to architecture specific config symbols. Signed-off-by: Michael Ellerman --- arch/powerpc/Kconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 145af02df3dc..02994361cc7a 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -759,6 +759,22 @@ config PPC_256K_PAGES endchoice +config PAGE_SIZE_4KB + def_bool y + depends on PPC_4K_PAGES + +config PAGE_SIZE_16KB + def_bool y + depends on PPC_16K_PAGES + +config PAGE_SIZE_64KB + def_bool y + depends on PPC_64K_PAGES + +config PAGE_SIZE_256KB + def_bool y + depends on PPC_256K_PAGES + config PPC_PAGE_SHIFT int default 18 if PPC_256K_PAGES -- 2.35.1 Next message: Guangbin Huang: "[PATCH net-next 5/5] net: hns3: add query vf ring and vector map relation" Previous message: Michael Ellerman: "[PATCH 2/2] arch/Kconfig: Drop references to powerpc PAGE_SIZE symbols" Next in thread: Michael Ellerman: "[PATCH 2/2] arch/Kconfig: Drop references to powerpc PAGE_SIZE symbols" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]