]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] USB: mark various usb tables const
authorArjan van de Ven <arjan@infradead.org>
Tue, 29 Nov 2005 08:43:42 +0000 (09:43 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:51:40 +0000 (13:51 -0800)
commit4c4c9432a6c916729c7296c47fe93b053a73e20c
tree7f02f456359259da8bae5e3d32fc4411311ee135
parent9fe6fcd8ccb2c8c661dfd1e07e3122aef31a67d4
[PATCH] USB: mark various usb tables const

patch below marks various USB tables and variables as const so that they
end up in .rodata section and don't cacheline share with things that get
written to. For the non-array variables it also allows gcc to optimize
more.

Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
23 files changed:
drivers/usb/class/cdc-acm.c
drivers/usb/class/usblp.c
drivers/usb/core/devices.c
drivers/usb/host/uhci-debug.c
drivers/usb/input/aiptek.c
drivers/usb/input/ati_remote.c
drivers/usb/input/fixp-arith.h
drivers/usb/input/hid-core.c
drivers/usb/input/hid-input.c
drivers/usb/input/keyspan_remote.c
drivers/usb/input/xpad.c
drivers/usb/media/konicawc.c
drivers/usb/media/ov511.c
drivers/usb/media/pwc/pwc-ctrl.c
drivers/usb/media/stv680.h
drivers/usb/media/usbvideo.c
drivers/usb/misc/sisusbvga/sisusb.c
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/io_edgeport.c
drivers/usb/serial/io_fw_boot2.h
drivers/usb/serial/safe_serial.c
drivers/usb/storage/sddr09.c
drivers/usb/storage/usb.c