Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
747e1f6
spi: armada-3700: Fix failing commands with quad-SPI
miquelraynal Sep 13, 2017
6fd6fd6
spi: armada-3700: Fix padding when sending not 4-byte aligned data
Sep 13, 2017
8b5d729
spi: stm32: Fix logical error in stm32_spi_prepare_mbr()
chggr Sep 10, 2017
a2b4a79
spi: uapi: spidev: add missing ioctl header
baruchsiach Sep 10, 2017
028568d
kbuild: revert $(realpath ...) to $(shell cd ... && /bin/pwd)
masahir0y Oct 2, 2017
9904041
kbuild: drop unused symverfile in Makefile.modpost
Sep 25, 2017
2cc3ce2
kbuild: Fix optimization level choice default
ulfalizer Oct 3, 2017
bbfe63b
Makefile: kselftest: fix grammar typo
rddunlap Oct 7, 2017
a528629
ARC: [plat-hsdk] select CONFIG_RESET_HSDK from Kconfig
vineetgarc Oct 6, 2017
5a866ec
spi: a3700: Return correct value on timeout detection
Oct 10, 2017
753affb
ARC: [plat-hsdk] Increase SDIO CIU frequency to 50000000Hz
Oct 11, 2017
fdbed19
ARC: unbork module link errors with !CONFIG_ARC_HAS_LLSC
vineetgarc Oct 12, 2017
c0368e4
spi: bcm-qspi: Fix use after free in bcm_qspi_probe() in error path
ffainelli Oct 11, 2017
226584a
spi: fix IDR collision on systems with both fixed and dynamic SPI bus…
lynxeye-dev Oct 16, 2017
ab31fd0
scsi: zfcp: fix erp_action use-before-initialize in REC action trace
steffen-maier Oct 13, 2017
1010f21
scsi: qla2xxx: Initialize Work element before requesting IRQs
Oct 16, 2017
c99dfd2
scsi: hpsa: Fix configured_logical_drive_count·check
chggr Oct 16, 2017
45348de
scsi: aacraid: Fix controller initialization failure
Oct 17, 2017
587c3c9
scsi: sg: Re-fix off by one in sg_fill_request_table()
bwh-ct Oct 15, 2017
06e2290
Fix encryption labels and lengths for SMB3.1.1
smfrench Sep 26, 2017
7cb3def
cifs: handle large EA requests more gracefully in smb2+
Sep 27, 2017
4572f05
CIFS: SMBD: Fix the definition for SMB2_CHANNEL_RDMA_V1_INVALIDATE
longlimsft Oct 2, 2017
8a82dbf
nvme-fc: fix iowait hang
jsmart-gh Oct 9, 2017
17c4dc6
nvme-fc: retry initial controller connections 3 times
jsmart-gh Oct 9, 2017
f9cf2a6
nvmet: synchronize sqhd update
jsmart-gh Oct 18, 2017
b3885bd
ovl: add NULL check in ovl_alloc_inode
hnakagawa Sep 25, 2017
0ce5cdc
ovl: Return -ENOMEM if an allocation fails ovl_lookup()
Sep 22, 2017
bd9f075
nvme-rdma: Fix possible double free in reconnect flow
sagigrimberg Oct 19, 2017
f04b9cc
nvme-rdma: Fix error status return in tagset allocation failure
sagigrimberg Oct 19, 2017
736f20a
ALSA: hda/realtek - Add support for ALC236/ALC3204
KailangYang Oct 20, 2017
8753974
Merge branch 'nvme-4.14' of git://git.infradead.org/nvme into for-linus
axboe Oct 20, 2017
b16918a
hwmon: (da9052) Increase sample rate when using TSI
mwelchuk Oct 19, 2017
8b95f4f
drm/amd/powerplay: fix uninitialized variable
Oct 20, 2017
bfc1168
x86/cpu/AMD: Apply the Erratum 688 fix when the BIOS doesn't
suryasaimadhu Oct 22, 2017
8fe8ffb
scsi: Suppress a kernel warning in case the prep function returns BLK…
KAGA-KOKO Oct 20, 2017
98990a3
x86/entry: Fix idtentry unwind hint
jpoimboe Oct 20, 2017
58c3862
x86/unwind: Show function name+offset in ORC error messages
jpoimboe Oct 20, 2017
88796e7
sched/swait: Document it clearly that the swait facilities are specia…
Oct 20, 2017
d87e47e
kbuild doc: a bundle of fixes on makefiles.txt
Oct 19, 2017
bb3f38c
kbuild: clang: fix build failures with sparse check
dtwlin Oct 20, 2017
942491c
xfs: fix AIM7 regression
Oct 24, 2017
2eece39
perf/x86/intel/bts: Fix exclusive event reference leak
virtuoso Oct 23, 2017
f265788
ALSA: hda - fix headset mic problem for Dell machines with alc236
jason77-wang Oct 24, 2017
d072543
hwmon: (tmp102) Fix first temperature reading
groeck Oct 24, 2017
0cc2b4e
PM / QoS: Fix device resume latency PM QoS
rafaeljw Oct 24, 2017
6eaf011
ovl: fix EIO from lookup of non-indexed upper
amir73il Oct 12, 2017
7937a56
ovl: handle ENOENT on index lookup
amir73il Oct 20, 2017
fa0096e
ovl: do not cleanup unsupported index entries
amir73il Oct 24, 2017
57a95b4
Input: elan_i2c - add ELAN0611 to the ACPI table
khfeng Oct 24, 2017
32e67a3
nbd: handle interrupted sendmsg with a sndtimeo set
Oct 24, 2017
0a5e2ec
s390/kvm: fix detection of guest machine checks
Oct 5, 2017
6c2838f
ceph: unlock dangling spinlock in try_flush_caps()
jtlayton Oct 19, 2017
092e72c
efi/efi_test: Prevent an Oops in efi_runtime_query_capsulecaps()
Oct 25, 2017
38fb665
efi/libstub/arm: Don't randomize runtime regions when CONFIG_HIBERNAT…
Oct 25, 2017
7555aa7
Merge remote-tracking branches 'spi/fix/armada', 'spi/fix/idr', 'spi/…
broonie Oct 25, 2017
d3daa2c
drm/amd/amdgpu: Remove workaround check for UVD6 on APUs
Oct 23, 2017
c6cdd51
fuse: fix READDIRPLUS skipping an entry
Oct 25, 2017
7277f75
drm/i915/perf: fix perf enable/disable ioctls with 32bits userspace
llandwerlin-intel Oct 24, 2017
298d275
xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
jgross1 Oct 25, 2017
5b454a6
cifs: Select all required crypto modules
bgilbert Oct 19, 2017
48923d2
CIFS: do not send invalid input buffer on QUERY_INFO requests
aaptel Oct 17, 2017
db3b547
CIFS: Fix NULL pointer deref on SMB2_tcon() failure
aaptel Oct 11, 2017
fe83beb
SMB: fix leak of validate negotiate info response buffer
ddiss Oct 20, 2017
a2d9daa
SMB: fix validate negotiate info uninitialised memory use
ddiss Oct 20, 2017
b4d91ae
RDMA/netlink: OOPs in rdma_nl_rcv_msg() from misinterpreted flag
mjruhl Oct 24, 2017
5a28747
Merge branch 'drm-fixes-4.14' of git://people.freedesktop.org/~agd5f/…
airlied Oct 25, 2017
522dbb3
Merge tag 'drm-intel-fixes-2017-10-25' of git://anongit.freedesktop.o…
airlied Oct 26, 2017
ecda3d9
Merge tag 'sound-4.14-rc7' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Oct 26, 2017
035bcf8
Merge tag 'hwmon-for-linus-v4.14-rc7' of git://git.kernel.org/pub/scm…
torvalds Oct 26, 2017
4ed5902
Merge tag 'xfs-4.14-fixes-7' of git://git.kernel.org/pub/scm/fs/xfs/x…
torvalds Oct 26, 2017
5266b8e
xen: fix booting ballooned down hvm guest
jgross1 Oct 26, 2017
601c5c2
Merge tag 'ceph-for-4.14-rc7' of git://github.com/ceph/ceph-client
torvalds Oct 26, 2017
832c6b1
Merge tag 'spi-fix-v4.14-rc5' of git://git.kernel.org/pub/scm/linux/k…
torvalds Oct 26, 2017
3b5a9a8
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
torvalds Oct 26, 2017
814eae5
alpha/PCI: Move pci_map_irq()/pci_swizzle() out of initdata
Oct 26, 2017
5678255
Merge tag 'pm-4.14-rc7' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Oct 26, 2017
4587eee
SMB3: Validate negotiate request must always be signed
smfrench Oct 25, 2017
80c094a
Revert "apparmor: add base infastructure for socket mediation"
torvalds Oct 26, 2017
8f63fc2
drm/i915/gvt: properly check per_ctx bb valid state
zhenyw Oct 19, 2017
edee7ec
drm/i915/gvt: Refine MMIO_RING_F()
zhiwang1 Sep 30, 2017
20a2bcd
drm/i915/gvt: Extract mmio_read_from_hw() common function
xiongzha Oct 13, 2017
894e287
drm/i915/gvt: Adding ACTHD mmio read handler
xiongzha Oct 13, 2017
a494ee6
arm/xen: don't inclide rwlock.h directly.
Oct 5, 2017
15f859a
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…
torvalds Oct 26, 2017
ce485df
Merge tag 'drm-intel-fixes-2017-10-26' of git://anongit.freedesktop.o…
airlied Oct 27, 2017
8fc669e
maintainers: drop Chris Wright from pvops
jgross1 Oct 26, 2017
90edaac
Revert "x86/mm: Limit mmap() of /dev/mem to valid physical addresses"
Oct 27, 2017
a508294
Input: gtco - fix potential out-of-bound access
dtor Oct 23, 2017
3e64fcb
Input: synaptics-rmi4 - limit the range of what GPIOs are buttons
aduggan-syna Oct 25, 2017
5cefb4e
Merge branch 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/l…
torvalds Oct 28, 2017
02c7dfc
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/…
torvalds Oct 28, 2017
11dc76f
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm…
torvalds Oct 28, 2017
d3eab75
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/l…
torvalds Oct 28, 2017
fe23429
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Oct 28, 2017
a0cb2b5
Fix tracing sample code warning.
torvalds Oct 28, 2017
90e6872
Merge tag 'arc-4.14-rc7' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Oct 28, 2017
11224e1
Merge tag 'for-linus-4.14c-rc7-tag' of git://git.kernel.org/pub/scm/l…
torvalds Oct 28, 2017
a9af983
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Oct 28, 2017
c9f27f9
Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/…
torvalds Oct 28, 2017
7814023
Merge tag '4.14-smb3-fixes-for-stable' of git://git.samba.org/sfrench…
torvalds Oct 28, 2017
ea67899
assoc_array: Fix a buggy node-splitting case
dhowells Oct 11, 2017
5345da8
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…
torvalds Oct 28, 2017
b35f0ca
Merge tag 'drm-fixes-for-v4.14-rc7' of git://people.freedesktop.org/~…
torvalds Oct 28, 2017
22450e0
Merge tag 'pci-v4.14-fixes-6' of git://git.kernel.org/pub/scm/linux/k…
torvalds Oct 28, 2017
a7d3e63
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Oct 28, 2017
25a5d23
Merge tag 'kbuild-fixes-v4.14-2' of git://git.kernel.org/pub/scm/linu…
torvalds Oct 28, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Documentation/ABI/testing/sysfs-devices-power
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,9 @@ Description:
device, after it has been suspended at run time, from a resume
request to the moment the device will be ready to process I/O,
in microseconds. If it is equal to 0, however, this means that
the PM QoS resume latency may be arbitrary.
the PM QoS resume latency may be arbitrary and the special value
"n/a" means that user space cannot accept any resume latency at
all for the given device.

Not all drivers support this attribute. If it isn't supported,
it is not present.
Expand Down
31 changes: 18 additions & 13 deletions Documentation/kbuild/makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1108,14 +1108,6 @@ When kbuild executes, the following steps are followed (roughly):
ld
Link target. Often, LDFLAGS_$@ is used to set specific options to ld.

objcopy
Copy binary. Uses OBJCOPYFLAGS usually specified in
arch/$(ARCH)/Makefile.
OBJCOPYFLAGS_$@ may be used to set additional options.

gzip
Compress target. Use maximum compression to compress target.

Example:
#arch/x86/boot/Makefile
LDFLAGS_bootsect := -Ttext 0x0 -s --oformat binary
Expand All @@ -1139,6 +1131,19 @@ When kbuild executes, the following steps are followed (roughly):
resulting in the target file being recompiled for no
obvious reason.

objcopy
Copy binary. Uses OBJCOPYFLAGS usually specified in
arch/$(ARCH)/Makefile.
OBJCOPYFLAGS_$@ may be used to set additional options.

gzip
Compress target. Use maximum compression to compress target.

Example:
#arch/x86/boot/compressed/Makefile
$(obj)/vmlinux.bin.gz: $(vmlinux.bin.all-y) FORCE
$(call if_changed,gzip)

dtc
Create flattened device tree blob object suitable for linking
into vmlinux. Device tree blobs linked into vmlinux are placed
Expand Down Expand Up @@ -1219,7 +1224,7 @@ When kbuild executes, the following steps are followed (roughly):
that may be shared between individual architectures.
The recommended approach how to use a generic header file is
to list the file in the Kbuild file.
See "7.3 generic-y" for further info on syntax etc.
See "7.2 generic-y" for further info on syntax etc.

--- 6.11 Post-link pass

Expand Down Expand Up @@ -1254,13 +1259,13 @@ A Kbuild file may be defined under arch/<arch>/include/uapi/asm/ and
arch/<arch>/include/asm/ to list asm files coming from asm-generic.
See subsequent chapter for the syntax of the Kbuild file.

--- 7.1 no-export-headers
--- 7.1 no-export-headers

no-export-headers is essentially used by include/uapi/linux/Kbuild to
avoid exporting specific headers (e.g. kvm.h) on architectures that do
not support it. It should be avoided as much as possible.

--- 7.2 generic-y
--- 7.2 generic-y

If an architecture uses a verbatim copy of a header from
include/asm-generic then this is listed in the file
Expand All @@ -1287,7 +1292,7 @@ See subsequent chapter for the syntax of the Kbuild file.
Example: termios.h
#include <asm-generic/termios.h>

--- 7.3 generated-y
--- 7.3 generated-y

If an architecture generates other header files alongside generic-y
wrappers, generated-y specifies them.
Expand All @@ -1299,7 +1304,7 @@ See subsequent chapter for the syntax of the Kbuild file.
#arch/x86/include/asm/Kbuild
generated-y += syscalls_32.h

--- 7.5 mandatory-y
--- 7.4 mandatory-y

mandatory-y is essentially used by include/uapi/asm-generic/Kbuild.asm
to define the minimum set of headers that must be exported in
Expand Down
1 change: 0 additions & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -10179,7 +10179,6 @@ F: Documentation/parport*.txt

PARAVIRT_OPS INTERFACE
M: Juergen Gross <jgross@suse.com>
M: Chris Wright <chrisw@sous-sol.org>
M: Alok Kataria <akataria@vmware.com>
M: Rusty Russell <rusty@rustcorp.com.au>
L: virtualization@lists.linux-foundation.org
Expand Down
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ endif
ifneq ($(KBUILD_OUTPUT),)
# check that the output directory actually exists
saved-output := $(KBUILD_OUTPUT)
$(shell [ -d $(KBUILD_OUTPUT) ] || mkdir -p $(KBUILD_OUTPUT))
KBUILD_OUTPUT := $(realpath $(KBUILD_OUTPUT))
KBUILD_OUTPUT := $(shell mkdir -p $(KBUILD_OUTPUT) && cd $(KBUILD_OUTPUT) \
&& /bin/pwd)
$(if $(KBUILD_OUTPUT),, \
$(error failed to create output directory "$(saved-output)"))

Expand Down Expand Up @@ -697,11 +697,11 @@ KBUILD_CFLAGS += $(stackp-flag)

ifeq ($(cc-name),clang)
ifneq ($(CROSS_COMPILE),)
CLANG_TARGET := -target $(notdir $(CROSS_COMPILE:%-=%))
CLANG_TARGET := --target=$(notdir $(CROSS_COMPILE:%-=%))
GCC_TOOLCHAIN := $(realpath $(dir $(shell which $(LD)))/..)
endif
ifneq ($(GCC_TOOLCHAIN),)
CLANG_GCC_TC := -gcc-toolchain $(GCC_TOOLCHAIN)
CLANG_GCC_TC := --gcc-toolchain=$(GCC_TOOLCHAIN)
endif
KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC)
KBUILD_AFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC)
Expand Down Expand Up @@ -1399,7 +1399,7 @@ help:
@echo ' Build, install, and boot kernel before'
@echo ' running kselftest on it'
@echo ' kselftest-clean - Remove all generated kselftest files'
@echo ' kselftest-merge - Merge all the config dependencies of kselftest to existed'
@echo ' kselftest-merge - Merge all the config dependencies of kselftest to existing'
@echo ' .config.'
@echo ''
@echo 'Userspace tools targets:'
Expand Down
4 changes: 2 additions & 2 deletions arch/alpha/kernel/sys_alcor.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ alcor_init_irq(void)
* comes in on. This makes interrupt processing much easier.
*/

static int __init
static int
alcor_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
static char irq_tab[7][5] __initdata = {
static char irq_tab[7][5] = {
/*INT INTA INTB INTC INTD */
/* note: IDSEL 17 is XLT only */
{16+13, 16+13, 16+13, 16+13, 16+13}, /* IdSel 17, TULIP */
Expand Down
12 changes: 6 additions & 6 deletions arch/alpha/kernel/sys_cabriolet.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ pc164_init_irq(void)
* because it is the Saturn IO (SIO) PCI/ISA Bridge Chip.
*/

static inline int __init
static inline int
eb66p_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
static char irq_tab[5][5] __initdata = {
static char irq_tab[5][5] = {
/*INT INTA INTB INTC INTD */
{16+0, 16+0, 16+5, 16+9, 16+13}, /* IdSel 6, slot 0, J25 */
{16+1, 16+1, 16+6, 16+10, 16+14}, /* IdSel 7, slot 1, J26 */
Expand All @@ -203,10 +203,10 @@ eb66p_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
* because it is the Saturn IO (SIO) PCI/ISA Bridge Chip.
*/

static inline int __init
static inline int
cabriolet_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
static char irq_tab[5][5] __initdata = {
static char irq_tab[5][5] = {
/*INT INTA INTB INTC INTD */
{ 16+2, 16+2, 16+7, 16+11, 16+15}, /* IdSel 5, slot 2, J21 */
{ 16+0, 16+0, 16+5, 16+9, 16+13}, /* IdSel 6, slot 0, J19 */
Expand Down Expand Up @@ -287,10 +287,10 @@ cia_cab_init_pci(void)
*
*/

static inline int __init
static inline int
alphapc164_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
static char irq_tab[7][5] __initdata = {
static char irq_tab[7][5] = {
/*INT INTA INTB INTC INTD */
{ 16+2, 16+2, 16+9, 16+13, 16+17}, /* IdSel 5, slot 2, J20 */
{ 16+0, 16+0, 16+7, 16+11, 16+15}, /* IdSel 6, slot 0, J29 */
Expand Down
20 changes: 10 additions & 10 deletions arch/alpha/kernel/sys_dp264.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ clipper_init_irq(void)
* 10 64 bit PCI option slot 3 (not bus 0)
*/

static int __init
static int
isa_irq_fixup(const struct pci_dev *dev, int irq)
{
u8 irq8;
Expand All @@ -372,10 +372,10 @@ isa_irq_fixup(const struct pci_dev *dev, int irq)
return irq8 & 0xf;
}

static int __init
static int
dp264_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
static char irq_tab[6][5] __initdata = {
static char irq_tab[6][5] = {
/*INT INTA INTB INTC INTD */
{ -1, -1, -1, -1, -1}, /* IdSel 5 ISA Bridge */
{ 16+ 3, 16+ 3, 16+ 2, 16+ 2, 16+ 2}, /* IdSel 6 SCSI builtin*/
Expand All @@ -394,10 +394,10 @@ dp264_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
return isa_irq_fixup(dev, irq);
}

static int __init
static int
monet_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
static char irq_tab[13][5] __initdata = {
static char irq_tab[13][5] = {
/*INT INTA INTB INTC INTD */
{ 45, 45, 45, 45, 45}, /* IdSel 3 21143 PCI1 */
{ -1, -1, -1, -1, -1}, /* IdSel 4 unused */
Expand All @@ -423,7 +423,7 @@ monet_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
return isa_irq_fixup(dev, COMMON_TABLE_LOOKUP);
}

static u8 __init
static u8
monet_swizzle(struct pci_dev *dev, u8 *pinp)
{
struct pci_controller *hose = dev->sysdata;
Expand Down Expand Up @@ -456,10 +456,10 @@ monet_swizzle(struct pci_dev *dev, u8 *pinp)
return slot;
}

static int __init
static int
webbrick_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
static char irq_tab[13][5] __initdata = {
static char irq_tab[13][5] = {
/*INT INTA INTB INTC INTD */
{ -1, -1, -1, -1, -1}, /* IdSel 7 ISA Bridge */
{ -1, -1, -1, -1, -1}, /* IdSel 8 unused */
Expand All @@ -478,10 +478,10 @@ webbrick_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
return isa_irq_fixup(dev, COMMON_TABLE_LOOKUP);
}

static int __init
static int
clipper_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
static char irq_tab[7][5] __initdata = {
static char irq_tab[7][5] = {
/*INT INTA INTB INTC INTD */
{ 16+ 8, 16+ 8, 16+ 9, 16+10, 16+11}, /* IdSel 1 slot 1 */
{ 16+12, 16+12, 16+13, 16+14, 16+15}, /* IdSel 2 slot 2 */
Expand Down
4 changes: 2 additions & 2 deletions arch/alpha/kernel/sys_eb64p.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@ eb64p_init_irq(void)
* comes in on. This makes interrupt processing much easier.
*/

static int __init
static int
eb64p_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
static char irq_tab[5][5] __initdata = {
static char irq_tab[5][5] = {
/*INT INTA INTB INTC INTD */
{16+7, 16+7, 16+7, 16+7, 16+7}, /* IdSel 5, slot ?, ?? */
{16+0, 16+0, 16+2, 16+4, 16+9}, /* IdSel 6, slot ?, ?? */
Expand Down
4 changes: 2 additions & 2 deletions arch/alpha/kernel/sys_eiger.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ eiger_init_irq(void)
}
}

static int __init
static int
eiger_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
u8 irq_orig;
Expand All @@ -158,7 +158,7 @@ eiger_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
return irq_orig - 0x80;
}

static u8 __init
static u8
eiger_swizzle(struct pci_dev *dev, u8 *pinp)
{
struct pci_controller *hose = dev->sysdata;
Expand Down
6 changes: 3 additions & 3 deletions arch/alpha/kernel/sys_miata.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ miata_init_irq(void)
* comes in on. This makes interrupt processing much easier.
*/

static int __init
static int
miata_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
static char irq_tab[18][5] __initdata = {
static char irq_tab[18][5] = {
/*INT INTA INTB INTC INTD */
{16+ 8, 16+ 8, 16+ 8, 16+ 8, 16+ 8}, /* IdSel 14, DC21142 */
{ -1, -1, -1, -1, -1}, /* IdSel 15, EIDE */
Expand Down Expand Up @@ -196,7 +196,7 @@ miata_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
return COMMON_TABLE_LOOKUP;
}

static u8 __init
static u8
miata_swizzle(struct pci_dev *dev, u8 *pinp)
{
int slot, pin = *pinp;
Expand Down
4 changes: 2 additions & 2 deletions arch/alpha/kernel/sys_mikasa.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ mikasa_init_irq(void)
* comes in on. This makes interrupt processing much easier.
*/

static int __init
static int
mikasa_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
static char irq_tab[8][5] __initdata = {
static char irq_tab[8][5] = {
/*INT INTA INTB INTC INTD */
{16+12, 16+12, 16+12, 16+12, 16+12}, /* IdSel 17, SCSI */
{ -1, -1, -1, -1, -1}, /* IdSel 18, PCEB */
Expand Down
2 changes: 1 addition & 1 deletion arch/alpha/kernel/sys_nautilus.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ nautilus_init_irq(void)
common_init_isa_dma();
}

static int __init
static int
nautilus_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
/* Preserve the IRQ set up by the console. */
Expand Down
6 changes: 3 additions & 3 deletions arch/alpha/kernel/sys_noritake.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ noritake_init_irq(void)
* comes in on. This makes interrupt processing much easier.
*/

static int __init
static int
noritake_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
static char irq_tab[15][5] __initdata = {
static char irq_tab[15][5] = {
/*INT INTA INTB INTC INTD */
/* note: IDSELs 16, 17, and 25 are CORELLE only */
{ 16+1, 16+1, 16+1, 16+1, 16+1}, /* IdSel 16, QLOGIC */
Expand All @@ -221,7 +221,7 @@ noritake_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
return COMMON_TABLE_LOOKUP;
}

static u8 __init
static u8
noritake_swizzle(struct pci_dev *dev, u8 *pinp)
{
int slot, pin = *pinp;
Expand Down
4 changes: 2 additions & 2 deletions arch/alpha/kernel/sys_rawhide.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@ rawhide_init_irq(void)
*
*/

static int __init
static int
rawhide_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
static char irq_tab[5][5] __initdata = {
static char irq_tab[5][5] = {
/*INT INTA INTB INTC INTD */
{ 16+16, 16+16, 16+16, 16+16, 16+16}, /* IdSel 1 SCSI PCI 1 */
{ 16+ 0, 16+ 0, 16+ 1, 16+ 2, 16+ 3}, /* IdSel 2 slot 2 */
Expand Down
6 changes: 3 additions & 3 deletions arch/alpha/kernel/sys_ruffian.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ ruffian_kill_arch (int mode)
*
*/

static int __init
static int
ruffian_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
static char irq_tab[11][5] __initdata = {
static char irq_tab[11][5] = {
/*INT INTA INTB INTC INTD */
{-1, -1, -1, -1, -1}, /* IdSel 13, 21052 */
{-1, -1, -1, -1, -1}, /* IdSel 14, SIO */
Expand All @@ -139,7 +139,7 @@ ruffian_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
return COMMON_TABLE_LOOKUP;
}

static u8 __init
static u8
ruffian_swizzle(struct pci_dev *dev, u8 *pinp)
{
int slot, pin = *pinp;
Expand Down
Loading