* [PATCH 22/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers
[not found] <20250314071013.1575167-1-thuth@redhat.com>
@ 2025-03-14 7:09 ` Thomas Huth
2025-06-07 5:52 ` Stafford Horne
2025-03-14 7:09 ` [PATCH 23/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers Thomas Huth
1 sibling, 1 reply; 9+ messages in thread
From: Thomas Huth @ 2025-03-14 7:09 UTC (permalink / raw)
To: linux-kernel
Cc: Arnd Bergmann, linux-arch, Thomas Huth, Jonas Bonn,
Stefan Kristiansson, Stafford Horne, linux-openrisc
__ASSEMBLY__ is only defined by the Makefile of the kernel, so
this is not really useful for uapi headers (unless the userspace
Makefile defines it, too). Let's switch to __ASSEMBLER__ which
gets set automatically by the compiler when compiling assembly
code.
This is a completely mechanical patch (done with a simple "sed -i"
statement).
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Stafford Horne <shorne@gmail.com>
Cc: linux-openrisc@vger.kernel.org
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
arch/openrisc/include/uapi/asm/ptrace.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/openrisc/include/uapi/asm/ptrace.h b/arch/openrisc/include/uapi/asm/ptrace.h
index a77cc9915ca8f..1f12a60d5a06c 100644
--- a/arch/openrisc/include/uapi/asm/ptrace.h
+++ b/arch/openrisc/include/uapi/asm/ptrace.h
@@ -20,7 +20,7 @@
#ifndef _UAPI__ASM_OPENRISC_PTRACE_H
#define _UAPI__ASM_OPENRISC_PTRACE_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
/*
* This is the layout of the regset returned by the GETREGSET ptrace call
*/
--
2.48.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 23/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers
[not found] <20250314071013.1575167-1-thuth@redhat.com>
2025-03-14 7:09 ` [PATCH 22/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers Thomas Huth
@ 2025-03-14 7:09 ` Thomas Huth
2025-06-06 6:42 ` Thomas Huth
2025-06-07 5:53 ` Stafford Horne
1 sibling, 2 replies; 9+ messages in thread
From: Thomas Huth @ 2025-03-14 7:09 UTC (permalink / raw)
To: linux-kernel
Cc: Arnd Bergmann, linux-arch, Thomas Huth, Jonas Bonn,
Stefan Kristiansson, Stafford Horne, linux-openrisc
While the GCC and Clang compilers already define __ASSEMBLER__
automatically when compiling assembly code, __ASSEMBLY__ is a
macro that only gets defined by the Makefiles in the kernel.
This can be very confusing when switching between userspace
and kernelspace coding, or when dealing with uapi headers that
rather should use __ASSEMBLER__ instead. So let's standardize on
the __ASSEMBLER__ macro that is provided by the compilers now.
This is a completely mechanical patch (done with a simple "sed -i"
statement).
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Stafford Horne <shorne@gmail.com>
Cc: linux-openrisc@vger.kernel.org
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
arch/openrisc/include/asm/mmu.h | 2 +-
arch/openrisc/include/asm/page.h | 8 ++++----
arch/openrisc/include/asm/pgtable.h | 4 ++--
arch/openrisc/include/asm/processor.h | 4 ++--
arch/openrisc/include/asm/ptrace.h | 4 ++--
arch/openrisc/include/asm/setup.h | 2 +-
arch/openrisc/include/asm/thread_info.h | 8 ++++----
7 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/arch/openrisc/include/asm/mmu.h b/arch/openrisc/include/asm/mmu.h
index eb720110f3a20..e7826a681bc4a 100644
--- a/arch/openrisc/include/asm/mmu.h
+++ b/arch/openrisc/include/asm/mmu.h
@@ -15,7 +15,7 @@
#ifndef __ASM_OPENRISC_MMU_H
#define __ASM_OPENRISC_MMU_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
typedef unsigned long mm_context_t;
#endif
diff --git a/arch/openrisc/include/asm/page.h b/arch/openrisc/include/asm/page.h
index c589e96035e15..85797f94d1d74 100644
--- a/arch/openrisc/include/asm/page.h
+++ b/arch/openrisc/include/asm/page.h
@@ -25,7 +25,7 @@
*/
#include <asm/setup.h>
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#define clear_page(page) memset((page), 0, PAGE_SIZE)
#define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
@@ -55,10 +55,10 @@ typedef struct page *pgtable_t;
#define __pgd(x) ((pgd_t) { (x) })
#define __pgprot(x) ((pgprot_t) { (x) })
-#endif /* !__ASSEMBLY__ */
+#endif /* !__ASSEMBLER__ */
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET))
#define __pa(x) ((unsigned long) (x) - PAGE_OFFSET)
@@ -73,7 +73,7 @@ static inline unsigned long virt_to_pfn(const void *kaddr)
#define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr)))
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#include <asm-generic/memory_model.h>
#include <asm-generic/getorder.h>
diff --git a/arch/openrisc/include/asm/pgtable.h b/arch/openrisc/include/asm/pgtable.h
index 60c6ce7ff2dcf..cd979bd28ab3b 100644
--- a/arch/openrisc/include/asm/pgtable.h
+++ b/arch/openrisc/include/asm/pgtable.h
@@ -23,7 +23,7 @@
#include <asm-generic/pgtable-nopmd.h>
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <asm/mmu.h>
#include <asm/fixmap.h>
@@ -432,5 +432,5 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
typedef pte_t *pte_addr_t;
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* __ASM_OPENRISC_PGTABLE_H */
diff --git a/arch/openrisc/include/asm/processor.h b/arch/openrisc/include/asm/processor.h
index e05d1b59e24e1..3ff893a67c13b 100644
--- a/arch/openrisc/include/asm/processor.h
+++ b/arch/openrisc/include/asm/processor.h
@@ -39,7 +39,7 @@
*/
#define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
struct task_struct;
@@ -78,5 +78,5 @@ void show_registers(struct pt_regs *regs);
#define cpu_relax() barrier()
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* __ASM_OPENRISC_PROCESSOR_H */
diff --git a/arch/openrisc/include/asm/ptrace.h b/arch/openrisc/include/asm/ptrace.h
index e5a282b670757..28facf2f3e00c 100644
--- a/arch/openrisc/include/asm/ptrace.h
+++ b/arch/openrisc/include/asm/ptrace.h
@@ -27,7 +27,7 @@
* they share a cacheline (not done yet, though... future optimization).
*/
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
/*
* This struct describes how the registers are laid out on the kernel stack
* during a syscall or other kernel entry.
@@ -147,7 +147,7 @@ static inline unsigned long regs_get_register(struct pt_regs *regs,
return *(unsigned long *)((unsigned long)regs + offset);
}
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
/*
* Offsets used by 'ptrace' system call interface.
diff --git a/arch/openrisc/include/asm/setup.h b/arch/openrisc/include/asm/setup.h
index 9acbc5deda691..dce9f4d3b378f 100644
--- a/arch/openrisc/include/asm/setup.h
+++ b/arch/openrisc/include/asm/setup.h
@@ -8,7 +8,7 @@
#include <linux/init.h>
#include <asm-generic/setup.h>
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
void __init or1k_early_setup(void *fdt);
#endif
diff --git a/arch/openrisc/include/asm/thread_info.h b/arch/openrisc/include/asm/thread_info.h
index 4af3049c34c21..e338fff7efb0e 100644
--- a/arch/openrisc/include/asm/thread_info.h
+++ b/arch/openrisc/include/asm/thread_info.h
@@ -17,7 +17,7 @@
#ifdef __KERNEL__
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <asm/types.h>
#include <asm/processor.h>
#endif
@@ -38,7 +38,7 @@
* - if the contents of this structure are changed, the assembly constants
* must also be changed
*/
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
struct thread_info {
struct task_struct *task; /* main task structure */
@@ -58,7 +58,7 @@ struct thread_info {
*
* preempt_count needs to be 1 initially, until the scheduler is functional.
*/
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#define INIT_THREAD_INFO(tsk) \
{ \
.task = &tsk, \
@@ -75,7 +75,7 @@ register struct thread_info *current_thread_info_reg asm("r10");
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)
-#endif /* !__ASSEMBLY__ */
+#endif /* !__ASSEMBLER__ */
/*
* thread information flags
--
2.48.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 23/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers
2025-03-14 7:09 ` [PATCH 23/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers Thomas Huth
@ 2025-06-06 6:42 ` Thomas Huth
2025-06-06 19:45 ` Stafford Horne
2025-06-07 5:53 ` Stafford Horne
1 sibling, 1 reply; 9+ messages in thread
From: Thomas Huth @ 2025-06-06 6:42 UTC (permalink / raw)
To: Jonas Bonn, Stefan Kristiansson, Stafford Horne; +Cc: linux-openrisc
On 14/03/2025 08.09, Thomas Huth wrote:
> While the GCC and Clang compilers already define __ASSEMBLER__
> automatically when compiling assembly code, __ASSEMBLY__ is a
> macro that only gets defined by the Makefiles in the kernel.
> This can be very confusing when switching between userspace
> and kernelspace coding, or when dealing with uapi headers that
> rather should use __ASSEMBLER__ instead. So let's standardize on
> the __ASSEMBLER__ macro that is provided by the compilers now.
>
> This is a completely mechanical patch (done with a simple "sed -i"
> statement).
>
> Cc: Jonas Bonn<jonas@southpole.se>
> Cc: Stefan Kristiansson<stefan.kristiansson@saunalahti.fi>
> Cc: Stafford Horne<shorne@gmail.com>
> Cc:linux-openrisc@vger.kernel.org
> Signed-off-by: Thomas Huth<thuth@redhat.com>
> ---
> arch/openrisc/include/asm/mmu.h | 2 +-
> arch/openrisc/include/asm/page.h | 8 ++++----
> arch/openrisc/include/asm/pgtable.h | 4 ++--
> arch/openrisc/include/asm/processor.h | 4 ++--
> arch/openrisc/include/asm/ptrace.h | 4 ++--
> arch/openrisc/include/asm/setup.h | 2 +-
> arch/openrisc/include/asm/thread_info.h | 8 ++++----
> 7 files changed, 16 insertions(+), 16 deletions(-)
>
> diff --git a/arch/openrisc/include/asm/mmu.h b/arch/openrisc/include/asm/mmu.h
> index eb720110f3a20..e7826a681bc4a 100644
> --- a/arch/openrisc/include/asm/mmu.h
> +++ b/arch/openrisc/include/asm/mmu.h
> @@ -15,7 +15,7 @@
> #ifndef __ASM_OPENRISC_MMU_H
> #define __ASM_OPENRISC_MMU_H
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
> typedef unsigned long mm_context_t;
> #endif
>
> diff --git a/arch/openrisc/include/asm/page.h b/arch/openrisc/include/asm/page.h
> index c589e96035e15..85797f94d1d74 100644
> --- a/arch/openrisc/include/asm/page.h
> +++ b/arch/openrisc/include/asm/page.h
> @@ -25,7 +25,7 @@
> */
> #include <asm/setup.h>
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
>
> #define clear_page(page) memset((page), 0, PAGE_SIZE)
> #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
> @@ -55,10 +55,10 @@ typedef struct page *pgtable_t;
> #define __pgd(x) ((pgd_t) { (x) })
> #define __pgprot(x) ((pgprot_t) { (x) })
>
> -#endif /* !__ASSEMBLY__ */
> +#endif /* !__ASSEMBLER__ */
>
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
>
> #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET))
> #define __pa(x) ((unsigned long) (x) - PAGE_OFFSET)
> @@ -73,7 +73,7 @@ static inline unsigned long virt_to_pfn(const void *kaddr)
>
> #define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr)))
>
> -#endif /* __ASSEMBLY__ */
> +#endif /* __ASSEMBLER__ */
>
> #include <asm-generic/memory_model.h>
> #include <asm-generic/getorder.h>
> diff --git a/arch/openrisc/include/asm/pgtable.h b/arch/openrisc/include/asm/pgtable.h
> index 60c6ce7ff2dcf..cd979bd28ab3b 100644
> --- a/arch/openrisc/include/asm/pgtable.h
> +++ b/arch/openrisc/include/asm/pgtable.h
> @@ -23,7 +23,7 @@
>
> #include <asm-generic/pgtable-nopmd.h>
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
> #include <asm/mmu.h>
> #include <asm/fixmap.h>
>
> @@ -432,5 +432,5 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
>
> typedef pte_t *pte_addr_t;
>
> -#endif /* __ASSEMBLY__ */
> +#endif /* __ASSEMBLER__ */
> #endif /* __ASM_OPENRISC_PGTABLE_H */
> diff --git a/arch/openrisc/include/asm/processor.h b/arch/openrisc/include/asm/processor.h
> index e05d1b59e24e1..3ff893a67c13b 100644
> --- a/arch/openrisc/include/asm/processor.h
> +++ b/arch/openrisc/include/asm/processor.h
> @@ -39,7 +39,7 @@
> */
> #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
>
> struct task_struct;
>
> @@ -78,5 +78,5 @@ void show_registers(struct pt_regs *regs);
>
> #define cpu_relax() barrier()
>
> -#endif /* __ASSEMBLY__ */
> +#endif /* __ASSEMBLER__ */
> #endif /* __ASM_OPENRISC_PROCESSOR_H */
> diff --git a/arch/openrisc/include/asm/ptrace.h b/arch/openrisc/include/asm/ptrace.h
> index e5a282b670757..28facf2f3e00c 100644
> --- a/arch/openrisc/include/asm/ptrace.h
> +++ b/arch/openrisc/include/asm/ptrace.h
> @@ -27,7 +27,7 @@
> * they share a cacheline (not done yet, though... future optimization).
> */
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
> /*
> * This struct describes how the registers are laid out on the kernel stack
> * during a syscall or other kernel entry.
> @@ -147,7 +147,7 @@ static inline unsigned long regs_get_register(struct pt_regs *regs,
> return *(unsigned long *)((unsigned long)regs + offset);
> }
>
> -#endif /* __ASSEMBLY__ */
> +#endif /* __ASSEMBLER__ */
>
> /*
> * Offsets used by 'ptrace' system call interface.
> diff --git a/arch/openrisc/include/asm/setup.h b/arch/openrisc/include/asm/setup.h
> index 9acbc5deda691..dce9f4d3b378f 100644
> --- a/arch/openrisc/include/asm/setup.h
> +++ b/arch/openrisc/include/asm/setup.h
> @@ -8,7 +8,7 @@
> #include <linux/init.h>
> #include <asm-generic/setup.h>
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
> void __init or1k_early_setup(void *fdt);
> #endif
>
> diff --git a/arch/openrisc/include/asm/thread_info.h b/arch/openrisc/include/asm/thread_info.h
> index 4af3049c34c21..e338fff7efb0e 100644
> --- a/arch/openrisc/include/asm/thread_info.h
> +++ b/arch/openrisc/include/asm/thread_info.h
> @@ -17,7 +17,7 @@
>
> #ifdef __KERNEL__
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
> #include <asm/types.h>
> #include <asm/processor.h>
> #endif
> @@ -38,7 +38,7 @@
> * - if the contents of this structure are changed, the assembly constants
> * must also be changed
> */
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
>
> struct thread_info {
> struct task_struct *task; /* main task structure */
> @@ -58,7 +58,7 @@ struct thread_info {
> *
> * preempt_count needs to be 1 initially, until the scheduler is functional.
> */
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
> #define INIT_THREAD_INFO(tsk) \
> { \
> .task = &tsk, \
> @@ -75,7 +75,7 @@ register struct thread_info *current_thread_info_reg asm("r10");
> #define get_thread_info(ti) get_task_struct((ti)->task)
> #define put_thread_info(ti) put_task_struct((ti)->task)
>
> -#endif /* !__ASSEMBLY__ */
> +#endif /* !__ASSEMBLER__ */
>
> /*
> * thread information flags
> -- 2.48.1
>
Friendly ping!
Jonas, Stefan, Stafford, could you maybe pick this (and the previous patch)
up via your openrisc tree? (x86 and parisc already got merge via their
respective architecture trees, so I guess the same should happen for this
patch here, too).
Thanks,
Thomas
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 23/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers
2025-06-06 6:42 ` Thomas Huth
@ 2025-06-06 19:45 ` Stafford Horne
2025-06-07 6:02 ` Stafford Horne
2025-06-10 5:13 ` Thomas Huth
0 siblings, 2 replies; 9+ messages in thread
From: Stafford Horne @ 2025-06-06 19:45 UTC (permalink / raw)
To: Thomas Huth; +Cc: Jonas Bonn, Stefan Kristiansson, linux-openrisc
On Fri, Jun 06, 2025 at 08:42:28AM +0200, Thomas Huth wrote:
> On 14/03/2025 08.09, Thomas Huth wrote:
> > While the GCC and Clang compilers already define __ASSEMBLER__
> > automatically when compiling assembly code, __ASSEMBLY__ is a
> > macro that only gets defined by the Makefiles in the kernel.
> > This can be very confusing when switching between userspace
> > and kernelspace coding, or when dealing with uapi headers that
> > rather should use __ASSEMBLER__ instead. So let's standardize on
> > the __ASSEMBLER__ macro that is provided by the compilers now.
> >
> > This is a completely mechanical patch (done with a simple "sed -i"
> > statement).
> >
> > Cc: Jonas Bonn<jonas@southpole.se>
> > Cc: Stefan Kristiansson<stefan.kristiansson@saunalahti.fi>
> > Cc: Stafford Horne<shorne@gmail.com>
> > Cc:linux-openrisc@vger.kernel.org
> > Signed-off-by: Thomas Huth<thuth@redhat.com>
> > ---
> > arch/openrisc/include/asm/mmu.h | 2 +-
> > arch/openrisc/include/asm/page.h | 8 ++++----
> > arch/openrisc/include/asm/pgtable.h | 4 ++--
> > arch/openrisc/include/asm/processor.h | 4 ++--
> > arch/openrisc/include/asm/ptrace.h | 4 ++--
> > arch/openrisc/include/asm/setup.h | 2 +-
> > arch/openrisc/include/asm/thread_info.h | 8 ++++----
> > 7 files changed, 16 insertions(+), 16 deletions(-)
> >
> > diff --git a/arch/openrisc/include/asm/mmu.h b/arch/openrisc/include/asm/mmu.h
> > index eb720110f3a20..e7826a681bc4a 100644
> > --- a/arch/openrisc/include/asm/mmu.h
> > +++ b/arch/openrisc/include/asm/mmu.h
> > @@ -15,7 +15,7 @@
> > #ifndef __ASM_OPENRISC_MMU_H
> > #define __ASM_OPENRISC_MMU_H
> > -#ifndef __ASSEMBLY__
> > +#ifndef __ASSEMBLER__
> > typedef unsigned long mm_context_t;
> > #endif
> > diff --git a/arch/openrisc/include/asm/page.h b/arch/openrisc/include/asm/page.h
> > index c589e96035e15..85797f94d1d74 100644
> > --- a/arch/openrisc/include/asm/page.h
> > +++ b/arch/openrisc/include/asm/page.h
> > @@ -25,7 +25,7 @@
> > */
> > #include <asm/setup.h>
> > -#ifndef __ASSEMBLY__
> > +#ifndef __ASSEMBLER__
> > #define clear_page(page) memset((page), 0, PAGE_SIZE)
> > #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
> > @@ -55,10 +55,10 @@ typedef struct page *pgtable_t;
> > #define __pgd(x) ((pgd_t) { (x) })
> > #define __pgprot(x) ((pgprot_t) { (x) })
> > -#endif /* !__ASSEMBLY__ */
> > +#endif /* !__ASSEMBLER__ */
> > -#ifndef __ASSEMBLY__
> > +#ifndef __ASSEMBLER__
> > #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET))
> > #define __pa(x) ((unsigned long) (x) - PAGE_OFFSET)
> > @@ -73,7 +73,7 @@ static inline unsigned long virt_to_pfn(const void *kaddr)
> > #define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr)))
> > -#endif /* __ASSEMBLY__ */
> > +#endif /* __ASSEMBLER__ */
> > #include <asm-generic/memory_model.h>
> > #include <asm-generic/getorder.h>
> > diff --git a/arch/openrisc/include/asm/pgtable.h b/arch/openrisc/include/asm/pgtable.h
> > index 60c6ce7ff2dcf..cd979bd28ab3b 100644
> > --- a/arch/openrisc/include/asm/pgtable.h
> > +++ b/arch/openrisc/include/asm/pgtable.h
> > @@ -23,7 +23,7 @@
> > #include <asm-generic/pgtable-nopmd.h>
> > -#ifndef __ASSEMBLY__
> > +#ifndef __ASSEMBLER__
> > #include <asm/mmu.h>
> > #include <asm/fixmap.h>
> > @@ -432,5 +432,5 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
> > typedef pte_t *pte_addr_t;
> > -#endif /* __ASSEMBLY__ */
> > +#endif /* __ASSEMBLER__ */
> > #endif /* __ASM_OPENRISC_PGTABLE_H */
> > diff --git a/arch/openrisc/include/asm/processor.h b/arch/openrisc/include/asm/processor.h
> > index e05d1b59e24e1..3ff893a67c13b 100644
> > --- a/arch/openrisc/include/asm/processor.h
> > +++ b/arch/openrisc/include/asm/processor.h
> > @@ -39,7 +39,7 @@
> > */
> > #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
> > -#ifndef __ASSEMBLY__
> > +#ifndef __ASSEMBLER__
> > struct task_struct;
> > @@ -78,5 +78,5 @@ void show_registers(struct pt_regs *regs);
> > #define cpu_relax() barrier()
> > -#endif /* __ASSEMBLY__ */
> > +#endif /* __ASSEMBLER__ */
> > #endif /* __ASM_OPENRISC_PROCESSOR_H */
> > diff --git a/arch/openrisc/include/asm/ptrace.h b/arch/openrisc/include/asm/ptrace.h
> > index e5a282b670757..28facf2f3e00c 100644
> > --- a/arch/openrisc/include/asm/ptrace.h
> > +++ b/arch/openrisc/include/asm/ptrace.h
> > @@ -27,7 +27,7 @@
> > * they share a cacheline (not done yet, though... future optimization).
> > */
> > -#ifndef __ASSEMBLY__
> > +#ifndef __ASSEMBLER__
> > /*
> > * This struct describes how the registers are laid out on the kernel stack
> > * during a syscall or other kernel entry.
> > @@ -147,7 +147,7 @@ static inline unsigned long regs_get_register(struct pt_regs *regs,
> > return *(unsigned long *)((unsigned long)regs + offset);
> > }
> > -#endif /* __ASSEMBLY__ */
> > +#endif /* __ASSEMBLER__ */
> > /*
> > * Offsets used by 'ptrace' system call interface.
> > diff --git a/arch/openrisc/include/asm/setup.h b/arch/openrisc/include/asm/setup.h
> > index 9acbc5deda691..dce9f4d3b378f 100644
> > --- a/arch/openrisc/include/asm/setup.h
> > +++ b/arch/openrisc/include/asm/setup.h
> > @@ -8,7 +8,7 @@
> > #include <linux/init.h>
> > #include <asm-generic/setup.h>
> > -#ifndef __ASSEMBLY__
> > +#ifndef __ASSEMBLER__
> > void __init or1k_early_setup(void *fdt);
> > #endif
> > diff --git a/arch/openrisc/include/asm/thread_info.h b/arch/openrisc/include/asm/thread_info.h
> > index 4af3049c34c21..e338fff7efb0e 100644
> > --- a/arch/openrisc/include/asm/thread_info.h
> > +++ b/arch/openrisc/include/asm/thread_info.h
> > @@ -17,7 +17,7 @@
> > #ifdef __KERNEL__
> > -#ifndef __ASSEMBLY__
> > +#ifndef __ASSEMBLER__
> > #include <asm/types.h>
> > #include <asm/processor.h>
> > #endif
> > @@ -38,7 +38,7 @@
> > * - if the contents of this structure are changed, the assembly constants
> > * must also be changed
> > */
> > -#ifndef __ASSEMBLY__
> > +#ifndef __ASSEMBLER__
> > struct thread_info {
> > struct task_struct *task; /* main task structure */
> > @@ -58,7 +58,7 @@ struct thread_info {
> > *
> > * preempt_count needs to be 1 initially, until the scheduler is functional.
> > */
> > -#ifndef __ASSEMBLY__
> > +#ifndef __ASSEMBLER__
> > #define INIT_THREAD_INFO(tsk) \
> > { \
> > .task = &tsk, \
> > @@ -75,7 +75,7 @@ register struct thread_info *current_thread_info_reg asm("r10");
> > #define get_thread_info(ti) get_task_struct((ti)->task)
> > #define put_thread_info(ti) put_task_struct((ti)->task)
> > -#endif /* !__ASSEMBLY__ */
> > +#endif /* !__ASSEMBLER__ */
> > /*
> > * thread information flags
> > -- 2.48.1
> >
>
> Friendly ping!
>
> Jonas, Stefan, Stafford, could you maybe pick this (and the previous patch)
> up via your openrisc tree? (x86 and parisc already got merge via their
> respective architecture trees, so I guess the same should happen for this
> patch here, too).
Hi Thomas,
Sure, this might not make it for the 6.16 merge window as we may not have time
for it to have a cycle in linux-next. Is that ok?
-Stafford
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 22/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers
2025-03-14 7:09 ` [PATCH 22/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers Thomas Huth
@ 2025-06-07 5:52 ` Stafford Horne
0 siblings, 0 replies; 9+ messages in thread
From: Stafford Horne @ 2025-06-07 5:52 UTC (permalink / raw)
To: Thomas Huth
Cc: linux-kernel, Arnd Bergmann, linux-arch, Jonas Bonn,
Stefan Kristiansson, linux-openrisc
On Fri, Mar 14, 2025 at 08:09:53AM +0100, Thomas Huth wrote:
> __ASSEMBLY__ is only defined by the Makefile of the kernel, so
> this is not really useful for uapi headers (unless the userspace
> Makefile defines it, too). Let's switch to __ASSEMBLER__ which
> gets set automatically by the compiler when compiling assembly
> code.
>
> This is a completely mechanical patch (done with a simple "sed -i"
> statement).
Thanks Thomas,
This makes sense to me, I see the other discussions now and it look's
like there is still some discussions going on. For now I have added
this to the OpenRISC queue, but I don't think it will get in until 6.16.
That should give a bit more time for the discussion and more time to
test for me.
-Stafford
> Cc: Jonas Bonn <jonas@southpole.se>
> Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
> Cc: Stafford Horne <shorne@gmail.com>
> Cc: linux-openrisc@vger.kernel.org
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> arch/openrisc/include/uapi/asm/ptrace.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/openrisc/include/uapi/asm/ptrace.h b/arch/openrisc/include/uapi/asm/ptrace.h
> index a77cc9915ca8f..1f12a60d5a06c 100644
> --- a/arch/openrisc/include/uapi/asm/ptrace.h
> +++ b/arch/openrisc/include/uapi/asm/ptrace.h
> @@ -20,7 +20,7 @@
> #ifndef _UAPI__ASM_OPENRISC_PTRACE_H
> #define _UAPI__ASM_OPENRISC_PTRACE_H
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
> /*
> * This is the layout of the regset returned by the GETREGSET ptrace call
> */
> --
> 2.48.1
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 23/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers
2025-03-14 7:09 ` [PATCH 23/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers Thomas Huth
2025-06-06 6:42 ` Thomas Huth
@ 2025-06-07 5:53 ` Stafford Horne
1 sibling, 0 replies; 9+ messages in thread
From: Stafford Horne @ 2025-06-07 5:53 UTC (permalink / raw)
To: Thomas Huth
Cc: linux-kernel, Arnd Bergmann, linux-arch, Jonas Bonn,
Stefan Kristiansson, linux-openrisc
On Fri, Mar 14, 2025 at 08:09:54AM +0100, Thomas Huth wrote:
> While the GCC and Clang compilers already define __ASSEMBLER__
> automatically when compiling assembly code, __ASSEMBLY__ is a
> macro that only gets defined by the Makefiles in the kernel.
> This can be very confusing when switching between userspace
> and kernelspace coding, or when dealing with uapi headers that
> rather should use __ASSEMBLER__ instead. So let's standardize on
> the __ASSEMBLER__ macro that is provided by the compilers now.
>
> This is a completely mechanical patch (done with a simple "sed -i"
> statement).
Hi Thomas,
I have applied this to the OpenRISC queue, as discussed on 22.
Thanks,
-Stafford
> Cc: Jonas Bonn <jonas@southpole.se>
> Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
> Cc: Stafford Horne <shorne@gmail.com>
> Cc: linux-openrisc@vger.kernel.org
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> arch/openrisc/include/asm/mmu.h | 2 +-
> arch/openrisc/include/asm/page.h | 8 ++++----
> arch/openrisc/include/asm/pgtable.h | 4 ++--
> arch/openrisc/include/asm/processor.h | 4 ++--
> arch/openrisc/include/asm/ptrace.h | 4 ++--
> arch/openrisc/include/asm/setup.h | 2 +-
> arch/openrisc/include/asm/thread_info.h | 8 ++++----
> 7 files changed, 16 insertions(+), 16 deletions(-)
>
> diff --git a/arch/openrisc/include/asm/mmu.h b/arch/openrisc/include/asm/mmu.h
> index eb720110f3a20..e7826a681bc4a 100644
> --- a/arch/openrisc/include/asm/mmu.h
> +++ b/arch/openrisc/include/asm/mmu.h
> @@ -15,7 +15,7 @@
> #ifndef __ASM_OPENRISC_MMU_H
> #define __ASM_OPENRISC_MMU_H
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
> typedef unsigned long mm_context_t;
> #endif
>
> diff --git a/arch/openrisc/include/asm/page.h b/arch/openrisc/include/asm/page.h
> index c589e96035e15..85797f94d1d74 100644
> --- a/arch/openrisc/include/asm/page.h
> +++ b/arch/openrisc/include/asm/page.h
> @@ -25,7 +25,7 @@
> */
> #include <asm/setup.h>
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
>
> #define clear_page(page) memset((page), 0, PAGE_SIZE)
> #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
> @@ -55,10 +55,10 @@ typedef struct page *pgtable_t;
> #define __pgd(x) ((pgd_t) { (x) })
> #define __pgprot(x) ((pgprot_t) { (x) })
>
> -#endif /* !__ASSEMBLY__ */
> +#endif /* !__ASSEMBLER__ */
>
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
>
> #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET))
> #define __pa(x) ((unsigned long) (x) - PAGE_OFFSET)
> @@ -73,7 +73,7 @@ static inline unsigned long virt_to_pfn(const void *kaddr)
>
> #define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr)))
>
> -#endif /* __ASSEMBLY__ */
> +#endif /* __ASSEMBLER__ */
>
> #include <asm-generic/memory_model.h>
> #include <asm-generic/getorder.h>
> diff --git a/arch/openrisc/include/asm/pgtable.h b/arch/openrisc/include/asm/pgtable.h
> index 60c6ce7ff2dcf..cd979bd28ab3b 100644
> --- a/arch/openrisc/include/asm/pgtable.h
> +++ b/arch/openrisc/include/asm/pgtable.h
> @@ -23,7 +23,7 @@
>
> #include <asm-generic/pgtable-nopmd.h>
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
> #include <asm/mmu.h>
> #include <asm/fixmap.h>
>
> @@ -432,5 +432,5 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
>
> typedef pte_t *pte_addr_t;
>
> -#endif /* __ASSEMBLY__ */
> +#endif /* __ASSEMBLER__ */
> #endif /* __ASM_OPENRISC_PGTABLE_H */
> diff --git a/arch/openrisc/include/asm/processor.h b/arch/openrisc/include/asm/processor.h
> index e05d1b59e24e1..3ff893a67c13b 100644
> --- a/arch/openrisc/include/asm/processor.h
> +++ b/arch/openrisc/include/asm/processor.h
> @@ -39,7 +39,7 @@
> */
> #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
>
> struct task_struct;
>
> @@ -78,5 +78,5 @@ void show_registers(struct pt_regs *regs);
>
> #define cpu_relax() barrier()
>
> -#endif /* __ASSEMBLY__ */
> +#endif /* __ASSEMBLER__ */
> #endif /* __ASM_OPENRISC_PROCESSOR_H */
> diff --git a/arch/openrisc/include/asm/ptrace.h b/arch/openrisc/include/asm/ptrace.h
> index e5a282b670757..28facf2f3e00c 100644
> --- a/arch/openrisc/include/asm/ptrace.h
> +++ b/arch/openrisc/include/asm/ptrace.h
> @@ -27,7 +27,7 @@
> * they share a cacheline (not done yet, though... future optimization).
> */
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
> /*
> * This struct describes how the registers are laid out on the kernel stack
> * during a syscall or other kernel entry.
> @@ -147,7 +147,7 @@ static inline unsigned long regs_get_register(struct pt_regs *regs,
> return *(unsigned long *)((unsigned long)regs + offset);
> }
>
> -#endif /* __ASSEMBLY__ */
> +#endif /* __ASSEMBLER__ */
>
> /*
> * Offsets used by 'ptrace' system call interface.
> diff --git a/arch/openrisc/include/asm/setup.h b/arch/openrisc/include/asm/setup.h
> index 9acbc5deda691..dce9f4d3b378f 100644
> --- a/arch/openrisc/include/asm/setup.h
> +++ b/arch/openrisc/include/asm/setup.h
> @@ -8,7 +8,7 @@
> #include <linux/init.h>
> #include <asm-generic/setup.h>
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
> void __init or1k_early_setup(void *fdt);
> #endif
>
> diff --git a/arch/openrisc/include/asm/thread_info.h b/arch/openrisc/include/asm/thread_info.h
> index 4af3049c34c21..e338fff7efb0e 100644
> --- a/arch/openrisc/include/asm/thread_info.h
> +++ b/arch/openrisc/include/asm/thread_info.h
> @@ -17,7 +17,7 @@
>
> #ifdef __KERNEL__
>
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
> #include <asm/types.h>
> #include <asm/processor.h>
> #endif
> @@ -38,7 +38,7 @@
> * - if the contents of this structure are changed, the assembly constants
> * must also be changed
> */
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
>
> struct thread_info {
> struct task_struct *task; /* main task structure */
> @@ -58,7 +58,7 @@ struct thread_info {
> *
> * preempt_count needs to be 1 initially, until the scheduler is functional.
> */
> -#ifndef __ASSEMBLY__
> +#ifndef __ASSEMBLER__
> #define INIT_THREAD_INFO(tsk) \
> { \
> .task = &tsk, \
> @@ -75,7 +75,7 @@ register struct thread_info *current_thread_info_reg asm("r10");
> #define get_thread_info(ti) get_task_struct((ti)->task)
> #define put_thread_info(ti) put_task_struct((ti)->task)
>
> -#endif /* !__ASSEMBLY__ */
> +#endif /* !__ASSEMBLER__ */
>
> /*
> * thread information flags
> --
> 2.48.1
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 23/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers
2025-06-06 19:45 ` Stafford Horne
@ 2025-06-07 6:02 ` Stafford Horne
2025-06-10 5:17 ` Thomas Huth
2025-06-10 5:13 ` Thomas Huth
1 sibling, 1 reply; 9+ messages in thread
From: Stafford Horne @ 2025-06-07 6:02 UTC (permalink / raw)
To: Thomas Huth; +Cc: Jonas Bonn, Stefan Kristiansson, linux-openrisc
On Fri, Jun 06, 2025 at 08:45:02PM +0100, Stafford Horne wrote:
> On Fri, Jun 06, 2025 at 08:42:28AM +0200, Thomas Huth wrote:
> > On 14/03/2025 08.09, Thomas Huth wrote:
> > > While the GCC and Clang compilers already define __ASSEMBLER__
> > > automatically when compiling assembly code, __ASSEMBLY__ is a
> > > macro that only gets defined by the Makefiles in the kernel.
> > > This can be very confusing when switching between userspace
> > > and kernelspace coding, or when dealing with uapi headers that
> > > rather should use __ASSEMBLER__ instead. So let's standardize on
> > > the __ASSEMBLER__ macro that is provided by the compilers now.
> > >
> > > This is a completely mechanical patch (done with a simple "sed -i"
> > > statement).
> > >
> > > Cc: Jonas Bonn<jonas@southpole.se>
> > > Cc: Stefan Kristiansson<stefan.kristiansson@saunalahti.fi>
> > > Cc: Stafford Horne<shorne@gmail.com>
> > > Cc:linux-openrisc@vger.kernel.org
> > > Signed-off-by: Thomas Huth<thuth@redhat.com>
> > > ---
> > > arch/openrisc/include/asm/mmu.h | 2 +-
> > > arch/openrisc/include/asm/page.h | 8 ++++----
> > > arch/openrisc/include/asm/pgtable.h | 4 ++--
> > > arch/openrisc/include/asm/processor.h | 4 ++--
> > > arch/openrisc/include/asm/ptrace.h | 4 ++--
> > > arch/openrisc/include/asm/setup.h | 2 +-
> > > arch/openrisc/include/asm/thread_info.h | 8 ++++----
> > > 7 files changed, 16 insertions(+), 16 deletions(-)
> > >
> > > diff --git a/arch/openrisc/include/asm/mmu.h b/arch/openrisc/include/asm/mmu.h
> > > index eb720110f3a20..e7826a681bc4a 100644
> > > --- a/arch/openrisc/include/asm/mmu.h
> > > +++ b/arch/openrisc/include/asm/mmu.h
> > > @@ -15,7 +15,7 @@
> > > #ifndef __ASM_OPENRISC_MMU_H
> > > #define __ASM_OPENRISC_MMU_H
> > > -#ifndef __ASSEMBLY__
> > > +#ifndef __ASSEMBLER__
> > > typedef unsigned long mm_context_t;
> > > #endif
> > > diff --git a/arch/openrisc/include/asm/page.h b/arch/openrisc/include/asm/page.h
> > > index c589e96035e15..85797f94d1d74 100644
> > > --- a/arch/openrisc/include/asm/page.h
> > > +++ b/arch/openrisc/include/asm/page.h
> > > @@ -25,7 +25,7 @@
> > > */
> > > #include <asm/setup.h>
> > > -#ifndef __ASSEMBLY__
> > > +#ifndef __ASSEMBLER__
> > > #define clear_page(page) memset((page), 0, PAGE_SIZE)
> > > #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
> > > @@ -55,10 +55,10 @@ typedef struct page *pgtable_t;
> > > #define __pgd(x) ((pgd_t) { (x) })
> > > #define __pgprot(x) ((pgprot_t) { (x) })
> > > -#endif /* !__ASSEMBLY__ */
> > > +#endif /* !__ASSEMBLER__ */
> > > -#ifndef __ASSEMBLY__
> > > +#ifndef __ASSEMBLER__
> > > #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET))
> > > #define __pa(x) ((unsigned long) (x) - PAGE_OFFSET)
> > > @@ -73,7 +73,7 @@ static inline unsigned long virt_to_pfn(const void *kaddr)
> > > #define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr)))
> > > -#endif /* __ASSEMBLY__ */
> > > +#endif /* __ASSEMBLER__ */
> > > #include <asm-generic/memory_model.h>
> > > #include <asm-generic/getorder.h>
> > > diff --git a/arch/openrisc/include/asm/pgtable.h b/arch/openrisc/include/asm/pgtable.h
> > > index 60c6ce7ff2dcf..cd979bd28ab3b 100644
> > > --- a/arch/openrisc/include/asm/pgtable.h
> > > +++ b/arch/openrisc/include/asm/pgtable.h
> > > @@ -23,7 +23,7 @@
> > > #include <asm-generic/pgtable-nopmd.h>
> > > -#ifndef __ASSEMBLY__
> > > +#ifndef __ASSEMBLER__
> > > #include <asm/mmu.h>
> > > #include <asm/fixmap.h>
> > > @@ -432,5 +432,5 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
> > > typedef pte_t *pte_addr_t;
> > > -#endif /* __ASSEMBLY__ */
> > > +#endif /* __ASSEMBLER__ */
> > > #endif /* __ASM_OPENRISC_PGTABLE_H */
> > > diff --git a/arch/openrisc/include/asm/processor.h b/arch/openrisc/include/asm/processor.h
> > > index e05d1b59e24e1..3ff893a67c13b 100644
> > > --- a/arch/openrisc/include/asm/processor.h
> > > +++ b/arch/openrisc/include/asm/processor.h
> > > @@ -39,7 +39,7 @@
> > > */
> > > #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
> > > -#ifndef __ASSEMBLY__
> > > +#ifndef __ASSEMBLER__
> > > struct task_struct;
> > > @@ -78,5 +78,5 @@ void show_registers(struct pt_regs *regs);
> > > #define cpu_relax() barrier()
> > > -#endif /* __ASSEMBLY__ */
> > > +#endif /* __ASSEMBLER__ */
> > > #endif /* __ASM_OPENRISC_PROCESSOR_H */
> > > diff --git a/arch/openrisc/include/asm/ptrace.h b/arch/openrisc/include/asm/ptrace.h
> > > index e5a282b670757..28facf2f3e00c 100644
> > > --- a/arch/openrisc/include/asm/ptrace.h
> > > +++ b/arch/openrisc/include/asm/ptrace.h
> > > @@ -27,7 +27,7 @@
> > > * they share a cacheline (not done yet, though... future optimization).
> > > */
> > > -#ifndef __ASSEMBLY__
> > > +#ifndef __ASSEMBLER__
> > > /*
> > > * This struct describes how the registers are laid out on the kernel stack
> > > * during a syscall or other kernel entry.
> > > @@ -147,7 +147,7 @@ static inline unsigned long regs_get_register(struct pt_regs *regs,
> > > return *(unsigned long *)((unsigned long)regs + offset);
> > > }
> > > -#endif /* __ASSEMBLY__ */
> > > +#endif /* __ASSEMBLER__ */
> > > /*
> > > * Offsets used by 'ptrace' system call interface.
> > > diff --git a/arch/openrisc/include/asm/setup.h b/arch/openrisc/include/asm/setup.h
> > > index 9acbc5deda691..dce9f4d3b378f 100644
> > > --- a/arch/openrisc/include/asm/setup.h
> > > +++ b/arch/openrisc/include/asm/setup.h
> > > @@ -8,7 +8,7 @@
> > > #include <linux/init.h>
> > > #include <asm-generic/setup.h>
> > > -#ifndef __ASSEMBLY__
> > > +#ifndef __ASSEMBLER__
> > > void __init or1k_early_setup(void *fdt);
> > > #endif
> > > diff --git a/arch/openrisc/include/asm/thread_info.h b/arch/openrisc/include/asm/thread_info.h
> > > index 4af3049c34c21..e338fff7efb0e 100644
> > > --- a/arch/openrisc/include/asm/thread_info.h
> > > +++ b/arch/openrisc/include/asm/thread_info.h
> > > @@ -17,7 +17,7 @@
> > > #ifdef __KERNEL__
> > > -#ifndef __ASSEMBLY__
> > > +#ifndef __ASSEMBLER__
> > > #include <asm/types.h>
> > > #include <asm/processor.h>
> > > #endif
> > > @@ -38,7 +38,7 @@
> > > * - if the contents of this structure are changed, the assembly constants
> > > * must also be changed
> > > */
> > > -#ifndef __ASSEMBLY__
> > > +#ifndef __ASSEMBLER__
> > > struct thread_info {
> > > struct task_struct *task; /* main task structure */
> > > @@ -58,7 +58,7 @@ struct thread_info {
> > > *
> > > * preempt_count needs to be 1 initially, until the scheduler is functional.
> > > */
> > > -#ifndef __ASSEMBLY__
> > > +#ifndef __ASSEMBLER__
> > > #define INIT_THREAD_INFO(tsk) \
> > > { \
> > > .task = &tsk, \
> > > @@ -75,7 +75,7 @@ register struct thread_info *current_thread_info_reg asm("r10");
> > > #define get_thread_info(ti) get_task_struct((ti)->task)
> > > #define put_thread_info(ti) put_task_struct((ti)->task)
> > > -#endif /* !__ASSEMBLY__ */
> > > +#endif /* !__ASSEMBLER__ */
> > > /*
> > > * thread information flags
> > > -- 2.48.1
> > >
> >
> > Friendly ping!
> >
> > Jonas, Stefan, Stafford, could you maybe pick this (and the previous patch)
> > up via your openrisc tree? (x86 and parisc already got merge via their
> > respective architecture trees, so I guess the same should happen for this
> > patch here, too).
>
> Hi Thomas,
>
> Sure, this might not make it for the 6.16 merge window as we may not have time
> for it to have a cycle in linux-next. Is that ok?
I have now put this in the OpenRISC queue. Note, I didn't pay much attention to
this series as it seemed generally OK to me and usually I figured these trivial
treewide patches should be merged via other means.
I expect it will take time to get all maintainers pick these up individually.
Do you have a plan for those? In the past I think Arnd has helped.
-Stafford
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 23/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers
2025-06-06 19:45 ` Stafford Horne
2025-06-07 6:02 ` Stafford Horne
@ 2025-06-10 5:13 ` Thomas Huth
1 sibling, 0 replies; 9+ messages in thread
From: Thomas Huth @ 2025-06-10 5:13 UTC (permalink / raw)
To: Stafford Horne; +Cc: Jonas Bonn, Stefan Kristiansson, linux-openrisc
On 06/06/2025 21.45, Stafford Horne wrote:
> On Fri, Jun 06, 2025 at 08:42:28AM +0200, Thomas Huth wrote:
>> On 14/03/2025 08.09, Thomas Huth wrote:
>>> While the GCC and Clang compilers already define __ASSEMBLER__
>>> automatically when compiling assembly code, __ASSEMBLY__ is a
>>> macro that only gets defined by the Makefiles in the kernel.
>>> This can be very confusing when switching between userspace
>>> and kernelspace coding, or when dealing with uapi headers that
>>> rather should use __ASSEMBLER__ instead. So let's standardize on
>>> the __ASSEMBLER__ macro that is provided by the compilers now.
>>>
>>> This is a completely mechanical patch (done with a simple "sed -i"
>>> statement).
>>>
>>> Cc: Jonas Bonn<jonas@southpole.se>
>>> Cc: Stefan Kristiansson<stefan.kristiansson@saunalahti.fi>
>>> Cc: Stafford Horne<shorne@gmail.com>
>>> Cc:linux-openrisc@vger.kernel.org
>>> Signed-off-by: Thomas Huth<thuth@redhat.com>
>>> ---
>>> arch/openrisc/include/asm/mmu.h | 2 +-
>>> arch/openrisc/include/asm/page.h | 8 ++++----
>>> arch/openrisc/include/asm/pgtable.h | 4 ++--
>>> arch/openrisc/include/asm/processor.h | 4 ++--
>>> arch/openrisc/include/asm/ptrace.h | 4 ++--
>>> arch/openrisc/include/asm/setup.h | 2 +-
>>> arch/openrisc/include/asm/thread_info.h | 8 ++++----
>>> 7 files changed, 16 insertions(+), 16 deletions(-)
>>>
>>> diff --git a/arch/openrisc/include/asm/mmu.h b/arch/openrisc/include/asm/mmu.h
>>> index eb720110f3a20..e7826a681bc4a 100644
>>> --- a/arch/openrisc/include/asm/mmu.h
>>> +++ b/arch/openrisc/include/asm/mmu.h
>>> @@ -15,7 +15,7 @@
>>> #ifndef __ASM_OPENRISC_MMU_H
>>> #define __ASM_OPENRISC_MMU_H
>>> -#ifndef __ASSEMBLY__
>>> +#ifndef __ASSEMBLER__
>>> typedef unsigned long mm_context_t;
>>> #endif
>>> diff --git a/arch/openrisc/include/asm/page.h b/arch/openrisc/include/asm/page.h
>>> index c589e96035e15..85797f94d1d74 100644
>>> --- a/arch/openrisc/include/asm/page.h
>>> +++ b/arch/openrisc/include/asm/page.h
>>> @@ -25,7 +25,7 @@
>>> */
>>> #include <asm/setup.h>
>>> -#ifndef __ASSEMBLY__
>>> +#ifndef __ASSEMBLER__
>>> #define clear_page(page) memset((page), 0, PAGE_SIZE)
>>> #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
>>> @@ -55,10 +55,10 @@ typedef struct page *pgtable_t;
>>> #define __pgd(x) ((pgd_t) { (x) })
>>> #define __pgprot(x) ((pgprot_t) { (x) })
>>> -#endif /* !__ASSEMBLY__ */
>>> +#endif /* !__ASSEMBLER__ */
>>> -#ifndef __ASSEMBLY__
>>> +#ifndef __ASSEMBLER__
>>> #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET))
>>> #define __pa(x) ((unsigned long) (x) - PAGE_OFFSET)
>>> @@ -73,7 +73,7 @@ static inline unsigned long virt_to_pfn(const void *kaddr)
>>> #define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr)))
>>> -#endif /* __ASSEMBLY__ */
>>> +#endif /* __ASSEMBLER__ */
>>> #include <asm-generic/memory_model.h>
>>> #include <asm-generic/getorder.h>
>>> diff --git a/arch/openrisc/include/asm/pgtable.h b/arch/openrisc/include/asm/pgtable.h
>>> index 60c6ce7ff2dcf..cd979bd28ab3b 100644
>>> --- a/arch/openrisc/include/asm/pgtable.h
>>> +++ b/arch/openrisc/include/asm/pgtable.h
>>> @@ -23,7 +23,7 @@
>>> #include <asm-generic/pgtable-nopmd.h>
>>> -#ifndef __ASSEMBLY__
>>> +#ifndef __ASSEMBLER__
>>> #include <asm/mmu.h>
>>> #include <asm/fixmap.h>
>>> @@ -432,5 +432,5 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
>>> typedef pte_t *pte_addr_t;
>>> -#endif /* __ASSEMBLY__ */
>>> +#endif /* __ASSEMBLER__ */
>>> #endif /* __ASM_OPENRISC_PGTABLE_H */
>>> diff --git a/arch/openrisc/include/asm/processor.h b/arch/openrisc/include/asm/processor.h
>>> index e05d1b59e24e1..3ff893a67c13b 100644
>>> --- a/arch/openrisc/include/asm/processor.h
>>> +++ b/arch/openrisc/include/asm/processor.h
>>> @@ -39,7 +39,7 @@
>>> */
>>> #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
>>> -#ifndef __ASSEMBLY__
>>> +#ifndef __ASSEMBLER__
>>> struct task_struct;
>>> @@ -78,5 +78,5 @@ void show_registers(struct pt_regs *regs);
>>> #define cpu_relax() barrier()
>>> -#endif /* __ASSEMBLY__ */
>>> +#endif /* __ASSEMBLER__ */
>>> #endif /* __ASM_OPENRISC_PROCESSOR_H */
>>> diff --git a/arch/openrisc/include/asm/ptrace.h b/arch/openrisc/include/asm/ptrace.h
>>> index e5a282b670757..28facf2f3e00c 100644
>>> --- a/arch/openrisc/include/asm/ptrace.h
>>> +++ b/arch/openrisc/include/asm/ptrace.h
>>> @@ -27,7 +27,7 @@
>>> * they share a cacheline (not done yet, though... future optimization).
>>> */
>>> -#ifndef __ASSEMBLY__
>>> +#ifndef __ASSEMBLER__
>>> /*
>>> * This struct describes how the registers are laid out on the kernel stack
>>> * during a syscall or other kernel entry.
>>> @@ -147,7 +147,7 @@ static inline unsigned long regs_get_register(struct pt_regs *regs,
>>> return *(unsigned long *)((unsigned long)regs + offset);
>>> }
>>> -#endif /* __ASSEMBLY__ */
>>> +#endif /* __ASSEMBLER__ */
>>> /*
>>> * Offsets used by 'ptrace' system call interface.
>>> diff --git a/arch/openrisc/include/asm/setup.h b/arch/openrisc/include/asm/setup.h
>>> index 9acbc5deda691..dce9f4d3b378f 100644
>>> --- a/arch/openrisc/include/asm/setup.h
>>> +++ b/arch/openrisc/include/asm/setup.h
>>> @@ -8,7 +8,7 @@
>>> #include <linux/init.h>
>>> #include <asm-generic/setup.h>
>>> -#ifndef __ASSEMBLY__
>>> +#ifndef __ASSEMBLER__
>>> void __init or1k_early_setup(void *fdt);
>>> #endif
>>> diff --git a/arch/openrisc/include/asm/thread_info.h b/arch/openrisc/include/asm/thread_info.h
>>> index 4af3049c34c21..e338fff7efb0e 100644
>>> --- a/arch/openrisc/include/asm/thread_info.h
>>> +++ b/arch/openrisc/include/asm/thread_info.h
>>> @@ -17,7 +17,7 @@
>>> #ifdef __KERNEL__
>>> -#ifndef __ASSEMBLY__
>>> +#ifndef __ASSEMBLER__
>>> #include <asm/types.h>
>>> #include <asm/processor.h>
>>> #endif
>>> @@ -38,7 +38,7 @@
>>> * - if the contents of this structure are changed, the assembly constants
>>> * must also be changed
>>> */
>>> -#ifndef __ASSEMBLY__
>>> +#ifndef __ASSEMBLER__
>>> struct thread_info {
>>> struct task_struct *task; /* main task structure */
>>> @@ -58,7 +58,7 @@ struct thread_info {
>>> *
>>> * preempt_count needs to be 1 initially, until the scheduler is functional.
>>> */
>>> -#ifndef __ASSEMBLY__
>>> +#ifndef __ASSEMBLER__
>>> #define INIT_THREAD_INFO(tsk) \
>>> { \
>>> .task = &tsk, \
>>> @@ -75,7 +75,7 @@ register struct thread_info *current_thread_info_reg asm("r10");
>>> #define get_thread_info(ti) get_task_struct((ti)->task)
>>> #define put_thread_info(ti) put_task_struct((ti)->task)
>>> -#endif /* !__ASSEMBLY__ */
>>> +#endif /* !__ASSEMBLER__ */
>>> /*
>>> * thread information flags
>>> -- 2.48.1
>>>
>>
>> Friendly ping!
>>
>> Jonas, Stefan, Stafford, could you maybe pick this (and the previous patch)
>> up via your openrisc tree? (x86 and parisc already got merge via their
>> respective architecture trees, so I guess the same should happen for this
>> patch here, too).
>
> Hi Thomas,
>
> Sure, this might not make it for the 6.16 merge window as we may not have time
> for it to have a cycle in linux-next. Is that ok?
Hi Stafford,
yes, that's fine, there is no hurry for these patches.
Thanks,
Thomas
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 23/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers
2025-06-07 6:02 ` Stafford Horne
@ 2025-06-10 5:17 ` Thomas Huth
0 siblings, 0 replies; 9+ messages in thread
From: Thomas Huth @ 2025-06-10 5:17 UTC (permalink / raw)
To: Stafford Horne; +Cc: Jonas Bonn, Stefan Kristiansson, linux-openrisc
On 07/06/2025 08.02, Stafford Horne wrote:
> On Fri, Jun 06, 2025 at 08:45:02PM +0100, Stafford Horne wrote:
>> On Fri, Jun 06, 2025 at 08:42:28AM +0200, Thomas Huth wrote:
>>> On 14/03/2025 08.09, Thomas Huth wrote:
>>>> While the GCC and Clang compilers already define __ASSEMBLER__
>>>> automatically when compiling assembly code, __ASSEMBLY__ is a
>>>> macro that only gets defined by the Makefiles in the kernel.
>>>> This can be very confusing when switching between userspace
>>>> and kernelspace coding, or when dealing with uapi headers that
>>>> rather should use __ASSEMBLER__ instead. So let's standardize on
>>>> the __ASSEMBLER__ macro that is provided by the compilers now.
>>>>
>>>> This is a completely mechanical patch (done with a simple "sed -i"
>>>> statement).
>>>>
>>>> Cc: Jonas Bonn<jonas@southpole.se>
>>>> Cc: Stefan Kristiansson<stefan.kristiansson@saunalahti.fi>
>>>> Cc: Stafford Horne<shorne@gmail.com>
>>>> Cc:linux-openrisc@vger.kernel.org
>>>> Signed-off-by: Thomas Huth<thuth@redhat.com>
>>>> ---
>>>> arch/openrisc/include/asm/mmu.h | 2 +-
>>>> arch/openrisc/include/asm/page.h | 8 ++++----
>>>> arch/openrisc/include/asm/pgtable.h | 4 ++--
>>>> arch/openrisc/include/asm/processor.h | 4 ++--
>>>> arch/openrisc/include/asm/ptrace.h | 4 ++--
>>>> arch/openrisc/include/asm/setup.h | 2 +-
>>>> arch/openrisc/include/asm/thread_info.h | 8 ++++----
>>>> 7 files changed, 16 insertions(+), 16 deletions(-)
>>>>
>>>> diff --git a/arch/openrisc/include/asm/mmu.h b/arch/openrisc/include/asm/mmu.h
>>>> index eb720110f3a20..e7826a681bc4a 100644
>>>> --- a/arch/openrisc/include/asm/mmu.h
>>>> +++ b/arch/openrisc/include/asm/mmu.h
>>>> @@ -15,7 +15,7 @@
>>>> #ifndef __ASM_OPENRISC_MMU_H
>>>> #define __ASM_OPENRISC_MMU_H
>>>> -#ifndef __ASSEMBLY__
>>>> +#ifndef __ASSEMBLER__
>>>> typedef unsigned long mm_context_t;
>>>> #endif
>>>> diff --git a/arch/openrisc/include/asm/page.h b/arch/openrisc/include/asm/page.h
>>>> index c589e96035e15..85797f94d1d74 100644
>>>> --- a/arch/openrisc/include/asm/page.h
>>>> +++ b/arch/openrisc/include/asm/page.h
>>>> @@ -25,7 +25,7 @@
>>>> */
>>>> #include <asm/setup.h>
>>>> -#ifndef __ASSEMBLY__
>>>> +#ifndef __ASSEMBLER__
>>>> #define clear_page(page) memset((page), 0, PAGE_SIZE)
>>>> #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
>>>> @@ -55,10 +55,10 @@ typedef struct page *pgtable_t;
>>>> #define __pgd(x) ((pgd_t) { (x) })
>>>> #define __pgprot(x) ((pgprot_t) { (x) })
>>>> -#endif /* !__ASSEMBLY__ */
>>>> +#endif /* !__ASSEMBLER__ */
>>>> -#ifndef __ASSEMBLY__
>>>> +#ifndef __ASSEMBLER__
>>>> #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET))
>>>> #define __pa(x) ((unsigned long) (x) - PAGE_OFFSET)
>>>> @@ -73,7 +73,7 @@ static inline unsigned long virt_to_pfn(const void *kaddr)
>>>> #define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr)))
>>>> -#endif /* __ASSEMBLY__ */
>>>> +#endif /* __ASSEMBLER__ */
>>>> #include <asm-generic/memory_model.h>
>>>> #include <asm-generic/getorder.h>
>>>> diff --git a/arch/openrisc/include/asm/pgtable.h b/arch/openrisc/include/asm/pgtable.h
>>>> index 60c6ce7ff2dcf..cd979bd28ab3b 100644
>>>> --- a/arch/openrisc/include/asm/pgtable.h
>>>> +++ b/arch/openrisc/include/asm/pgtable.h
>>>> @@ -23,7 +23,7 @@
>>>> #include <asm-generic/pgtable-nopmd.h>
>>>> -#ifndef __ASSEMBLY__
>>>> +#ifndef __ASSEMBLER__
>>>> #include <asm/mmu.h>
>>>> #include <asm/fixmap.h>
>>>> @@ -432,5 +432,5 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
>>>> typedef pte_t *pte_addr_t;
>>>> -#endif /* __ASSEMBLY__ */
>>>> +#endif /* __ASSEMBLER__ */
>>>> #endif /* __ASM_OPENRISC_PGTABLE_H */
>>>> diff --git a/arch/openrisc/include/asm/processor.h b/arch/openrisc/include/asm/processor.h
>>>> index e05d1b59e24e1..3ff893a67c13b 100644
>>>> --- a/arch/openrisc/include/asm/processor.h
>>>> +++ b/arch/openrisc/include/asm/processor.h
>>>> @@ -39,7 +39,7 @@
>>>> */
>>>> #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
>>>> -#ifndef __ASSEMBLY__
>>>> +#ifndef __ASSEMBLER__
>>>> struct task_struct;
>>>> @@ -78,5 +78,5 @@ void show_registers(struct pt_regs *regs);
>>>> #define cpu_relax() barrier()
>>>> -#endif /* __ASSEMBLY__ */
>>>> +#endif /* __ASSEMBLER__ */
>>>> #endif /* __ASM_OPENRISC_PROCESSOR_H */
>>>> diff --git a/arch/openrisc/include/asm/ptrace.h b/arch/openrisc/include/asm/ptrace.h
>>>> index e5a282b670757..28facf2f3e00c 100644
>>>> --- a/arch/openrisc/include/asm/ptrace.h
>>>> +++ b/arch/openrisc/include/asm/ptrace.h
>>>> @@ -27,7 +27,7 @@
>>>> * they share a cacheline (not done yet, though... future optimization).
>>>> */
>>>> -#ifndef __ASSEMBLY__
>>>> +#ifndef __ASSEMBLER__
>>>> /*
>>>> * This struct describes how the registers are laid out on the kernel stack
>>>> * during a syscall or other kernel entry.
>>>> @@ -147,7 +147,7 @@ static inline unsigned long regs_get_register(struct pt_regs *regs,
>>>> return *(unsigned long *)((unsigned long)regs + offset);
>>>> }
>>>> -#endif /* __ASSEMBLY__ */
>>>> +#endif /* __ASSEMBLER__ */
>>>> /*
>>>> * Offsets used by 'ptrace' system call interface.
>>>> diff --git a/arch/openrisc/include/asm/setup.h b/arch/openrisc/include/asm/setup.h
>>>> index 9acbc5deda691..dce9f4d3b378f 100644
>>>> --- a/arch/openrisc/include/asm/setup.h
>>>> +++ b/arch/openrisc/include/asm/setup.h
>>>> @@ -8,7 +8,7 @@
>>>> #include <linux/init.h>
>>>> #include <asm-generic/setup.h>
>>>> -#ifndef __ASSEMBLY__
>>>> +#ifndef __ASSEMBLER__
>>>> void __init or1k_early_setup(void *fdt);
>>>> #endif
>>>> diff --git a/arch/openrisc/include/asm/thread_info.h b/arch/openrisc/include/asm/thread_info.h
>>>> index 4af3049c34c21..e338fff7efb0e 100644
>>>> --- a/arch/openrisc/include/asm/thread_info.h
>>>> +++ b/arch/openrisc/include/asm/thread_info.h
>>>> @@ -17,7 +17,7 @@
>>>> #ifdef __KERNEL__
>>>> -#ifndef __ASSEMBLY__
>>>> +#ifndef __ASSEMBLER__
>>>> #include <asm/types.h>
>>>> #include <asm/processor.h>
>>>> #endif
>>>> @@ -38,7 +38,7 @@
>>>> * - if the contents of this structure are changed, the assembly constants
>>>> * must also be changed
>>>> */
>>>> -#ifndef __ASSEMBLY__
>>>> +#ifndef __ASSEMBLER__
>>>> struct thread_info {
>>>> struct task_struct *task; /* main task structure */
>>>> @@ -58,7 +58,7 @@ struct thread_info {
>>>> *
>>>> * preempt_count needs to be 1 initially, until the scheduler is functional.
>>>> */
>>>> -#ifndef __ASSEMBLY__
>>>> +#ifndef __ASSEMBLER__
>>>> #define INIT_THREAD_INFO(tsk) \
>>>> { \
>>>> .task = &tsk, \
>>>> @@ -75,7 +75,7 @@ register struct thread_info *current_thread_info_reg asm("r10");
>>>> #define get_thread_info(ti) get_task_struct((ti)->task)
>>>> #define put_thread_info(ti) put_task_struct((ti)->task)
>>>> -#endif /* !__ASSEMBLY__ */
>>>> +#endif /* !__ASSEMBLER__ */
>>>> /*
>>>> * thread information flags
>>>> -- 2.48.1
>>>>
>>>
>>> Friendly ping!
>>>
>>> Jonas, Stefan, Stafford, could you maybe pick this (and the previous patch)
>>> up via your openrisc tree? (x86 and parisc already got merge via their
>>> respective architecture trees, so I guess the same should happen for this
>>> patch here, too).
>>
>> Hi Thomas,
>>
>> Sure, this might not make it for the 6.16 merge window as we may not have time
>> for it to have a cycle in linux-next. Is that ok?
>
> I have now put this in the OpenRISC queue. Note, I didn't pay much attention to
> this series as it seemed generally OK to me and usually I figured these trivial
> treewide patches should be merged via other means.
>
> I expect it will take time to get all maintainers pick these up individually.
>
> Do you have a plan for those? In the past I think Arnd has helped.
I need to respin a couple of patches (s390x, powerpc, ...) since the headers
have already changed in the related spots, so I'm going to send those to the
respective maintainers when I'm done. Once those got merged, I guess I'm
going to respin the remaining patches and ask Arnd for help...
Thomas
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-06-10 5:17 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250314071013.1575167-1-thuth@redhat.com>
2025-03-14 7:09 ` [PATCH 22/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers Thomas Huth
2025-06-07 5:52 ` Stafford Horne
2025-03-14 7:09 ` [PATCH 23/41] openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers Thomas Huth
2025-06-06 6:42 ` Thomas Huth
2025-06-06 19:45 ` Stafford Horne
2025-06-07 6:02 ` Stafford Horne
2025-06-10 5:17 ` Thomas Huth
2025-06-10 5:13 ` Thomas Huth
2025-06-07 5:53 ` Stafford Horne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).