From: Clemens Ladisch
Date: Mon, 03 Nov 2014 10:44:40 +0100
> David Miller wrote:
>> I'd also rather the kernel use Kconfig based symbols to detect for
>> arch availability of feature X or Y, assuming things are CPP symbols
>> is very fragile at best.
>
> It is certainly possible to use Kconfig-
David Miller wrote:
>> Kernel code assumes that the PAGE_* values are preprocessor symbols, and
>> that therefore arch support can be checked for with #ifdef.
>>
>> At the moment, sparc64 does not implement any of the symbols checked
>> for, so these checks happen to work.
>>
>> To prevent potentia
From: Clemens Ladisch
Date: Sun, 02 Nov 2014 21:15:12 +0100
> Kernel code assumes that the PAGE_* values are preprocessor symbols, and
> that therefore arch support can be checked for with #ifdef.
>
> At the moment, sparc64 does not implement any of the symbols checked
> for, so these checks hap
Kernel code assumes that the PAGE_* values are preprocessor symbols, and
that therefore arch support can be checked for with #ifdef.
At the moment, sparc64 does not implement any of the symbols checked
for, so these checks happen to work.
To prevent potential breakage when another #ifdef check is
4 matches
Mail list logo