* [PATCH v2] parisc: Use asm-generic/serial.h
@ 2026-08-04 15:29 Thorsten Blum
2026-08-04 15:34 ` Helge Deller
0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Blum @ 2026-08-04 15:29 UTC (permalink / raw)
To: James E.J. Bottomley, Helge Deller
Cc: linux-parisc, linux-kernel, Thorsten Blum
asm/serial.h only redefines BASE_BAUD with the same value as
asm-generic/serial.h. Select the generic header from Kbuild and remove
the arch-specific header.
Suggested-by: Helge Deller <deller@gmx.de>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
Changes in v2:
- Delete the header and use Kbuild instead as suggested by Helge
- Reword subject and patch description
- v1: https://lore.kernel.org/r/20260804132051.104647-4-thorsten.blum@linux.dev/
---
arch/parisc/include/asm/Kbuild | 1 +
arch/parisc/include/asm/serial.h | 8 --------
2 files changed, 1 insertion(+), 8 deletions(-)
delete mode 100644 arch/parisc/include/asm/serial.h
diff --git a/arch/parisc/include/asm/Kbuild b/arch/parisc/include/asm/Kbuild
index d48d158f7241..4fc315085914 100644
--- a/arch/parisc/include/asm/Kbuild
+++ b/arch/parisc/include/asm/Kbuild
@@ -6,3 +6,4 @@ generic-y += kvm_para.h
generic-y += mcs_spinlock.h
generic-y += ring_buffer.h
generic-y += user.h
+generic-y += serial.h
diff --git a/arch/parisc/include/asm/serial.h b/arch/parisc/include/asm/serial.h
deleted file mode 100644
index 77e9b67c87ee..000000000000
--- a/arch/parisc/include/asm/serial.h
+++ /dev/null
@@ -1,8 +0,0 @@
-/*
- * include/asm-parisc/serial.h
- */
-
-/*
- * This is used for 16550-compatible UARTs
- */
-#define BASE_BAUD ( 1843200 / 16 )
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] parisc: Use asm-generic/serial.h
2026-08-04 15:29 [PATCH v2] parisc: Use asm-generic/serial.h Thorsten Blum
@ 2026-08-04 15:34 ` Helge Deller
0 siblings, 0 replies; 2+ messages in thread
From: Helge Deller @ 2026-08-04 15:34 UTC (permalink / raw)
To: Thorsten Blum, James E.J. Bottomley; +Cc: linux-parisc, linux-kernel
On 8/4/26 17:29, Thorsten Blum wrote:
> asm/serial.h only redefines BASE_BAUD with the same value as
> asm-generic/serial.h. Select the generic header from Kbuild and remove
> the arch-specific header.
>
> Suggested-by: Helge Deller <deller@gmx.de>
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
> ---
> Changes in v2:
> - Delete the header and use Kbuild instead as suggested by Helge
> - Reword subject and patch description
> - v1: https://lore.kernel.org/r/20260804132051.104647-4-thorsten.blum@linux.dev/
> ---
> arch/parisc/include/asm/Kbuild | 1 +
> arch/parisc/include/asm/serial.h | 8 --------
> 2 files changed, 1 insertion(+), 8 deletions(-)
> delete mode 100644 arch/parisc/include/asm/serial.h
applied.
Thanks!
Helge
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-04 15:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-04 15:29 [PATCH v2] parisc: Use asm-generic/serial.h Thorsten Blum
2026-08-04 15:34 ` Helge Deller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox