[PATCH 1/6] mm: Generalize ARCH_HAS_CACHE_LINE_SIZE

2021-03-09 Thread Anshuman Khandual
ARCH_HAS_CACHE_LINE_SIZE config has duplicate definitions on platforms that subscribe it. Instead, just make it a generic option which can be selected on applicable platforms. This change reduces code duplication and makes it cleaner. Cc: Vineet Gupta Cc: Catalin Marinas Cc: Will Deacon Cc:

[PATCH 1/6] mm: Generalize ARCH_HAS_CACHE_LINE_SIZE

2021-03-07 Thread Anshuman Khandual
ARCH_HAS_CACHE_LINE_SIZE config has duplicate definitions on platforms that subscribe it. Instead, just make it a generic option which can be selected on applicable platforms. This change reduces code duplication and makes it cleaner. Cc: Vineet Gupta Cc: Catalin Marinas Cc: Will Deacon Cc: