summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2022-05-19 06:58:03 +0200
committernorly <ny-git@enpas.org>2022-05-19 06:58:55 +0200
commitc4a0fb8d6fa40712de74b3b5d7d40af9e82b6e33 (patch)
treef3074b48e84827db3fa3be4ad4c792704c91039d
parente2562ce07a49af35e9881abd3c81190f1b877a33 (diff)
Don't ____cacheline_aligned the TX buffer
TTY drivers don't seem to care, and if they did, we'd likely have to kmalloc() as before anyway.
-rw-r--r--module/can327.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/can327.c b/module/can327.c
index 66233cc..803a9ab 100644
--- a/module/can327.c
+++ b/module/can327.c
@@ -90,7 +90,7 @@ struct can327 {
/* TTY buffers */
u8 rxbuf[ELM327_SIZE_RXBUF];
- u8 txbuf[ELM327_SIZE_TXBUF] ____cacheline_aligned;
+ u8 txbuf[ELM327_SIZE_TXBUF];
/* Per-channel lock */
spinlock_t lock;