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

From: H. Peter Anvin
Date: Thu Jan 11 2024 - 21:40:54 EST


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