[SERIAL] mark several serial tables const
This patch marks a few serial data structures const, moving them to .rodata where they won't false-share cachelines with things that get written to. Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
committed by
Russell King
parent
f5417612d7
commit
cb3592be27
@@ -468,7 +468,7 @@ static unsigned short timedia_eight_port[] = {
|
||||
0x9167, 0x9168, 0xA066, 0xA167, 0xA168, 0
|
||||
};
|
||||
|
||||
static struct timedia_struct {
|
||||
static const struct timedia_struct {
|
||||
int num;
|
||||
unsigned short *ids;
|
||||
} timedia_data[] = {
|
||||
|
Reference in New Issue
Block a user