projects
/
elmcan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2562ce
)
Don't ____cacheline_aligned the TX buffer
author
norly
<ny-git@enpas.org>
Thu, 19 May 2022 04:58:03 +0000
(06:58 +0200)
committer
norly
<ny-git@enpas.org>
Thu, 19 May 2022 04:58:55 +0000
(06:58 +0200)
TTY drivers don't seem to care, and if they did, we'd likely have
to kmalloc() as before anyway.
module/can327.c
patch
|
blob
|
history
diff --git
a/module/can327.c
b/module/can327.c
index 66233cc65f76d7ba7c3dfb7fcee6b2881cb3fff2..803a9ab79214ceee3ed0d1f74562acf1fca47134 100644
(file)
--- 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;