Re: [PATCH 00/45] C++: Convert the kernel to C++

H. Peter Anvin
2024-01-12T02:40:27Z

On 1/9/24 15:40, David Howells wrote:
>
>>> Issues:
>>> (1) Need spaces inserting between strings and symbols.
>>
>> I have to admit I don't really grok this?
>
> You're not allowed to do things like:
>
> asm volatile("btl "__percpu_arg(2)",%1"
>
> but rather have to do:
>
> asm volatile("btl " __percpu_arg(2) ",%1"
>
> as you're now allowed to specify type qualifiers. See
>
> https://en.cppreference.com/w/cpp/language/user_literal
>

Oh, right. This one should be easy enough to automate, though.

-hpa