android_kernel_sony_sdm845/drivers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nicolai Stange 8574df1a87 x86: Don't include linux/irq.h from asm/hardirq.h
commit 447ae316670230d7d29430e2cbf1f5db4f49d14c upstream

The next patch in this series will have to make the definition of
irq_cpustat_t available to entering_irq().

Inclusion of asm/hardirq.h into asm/apic.h would cause circular header
dependencies like

  asm/smp.h
    asm/apic.h
      asm/hardirq.h
        linux/irq.h
          linux/topology.h
            linux/smp.h
              asm/smp.h

or

  linux/gfp.h
    linux/mmzone.h
      asm/mmzone.h
        asm/mmzone_64.h
          asm/smp.h
            asm/apic.h
              asm/hardirq.h
                linux/irq.h
                  linux/irqdesc.h
                    linux/kobject.h
                      linux/sysfs.h
                        linux/kernfs.h
                          linux/idr.h
                            linux/gfp.h

and others.

This causes compilation errors because of the header guards becoming
effective in the second inclusion: symbols/macros that had been defined
before wouldn't be available to intermediate headers in the #include chain
anymore.

A possible workaround would be to move the definition of irq_cpustat_t
into its own header and include that from both, asm/hardirq.h and
asm/apic.h.

However, this wouldn't solve the real problem, namely asm/harirq.h
unnecessarily pulling in all the linux/irq.h cruft: nothing in
asm/hardirq.h itself requires it. Also, note that there are some other
archs, like e.g. arm64, which don't have that #include in their
asm/hardirq.h.

Remove the linux/irq.h #include from x86' asm/hardirq.h.

Fix resulting compilation errors by adding appropriate #includes to *.c
files as needed.

Note that some of these *.c files could be cleaned up a bit wrt. to their
set of #includes, but that should better be done from separate patches, if
at all.

Signed-off-by: Nicolai Stange <nstange@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[dwmw2: More fixes for EFI and Xen in 4.9]
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-15 18:14:52 +02:00
..
accessibility
acpi ACPI / LPSS: Add missing prv_offset setting for byt/cht PWM devices 2018-08-15 18:14:42 +02:00
amba ARM: amba: Don't read past the end of sysfs "driver_override" buffer 2018-05-01 15:13:08 -07:00
android binder: add missing binder_unlock() 2018-02-28 10:18:33 +01:00
ata libata: Fix command retry decision 2018-08-03 07:55:22 +02:00
atm atm: zatm: Fix potential Spectre v1 2018-07-22 14:27:36 +02:00
auxdisplay auxdisplay: img-ascii-lcd: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 2018-02-13 12:35:55 +01:00
base x86/speculation/l1tf: Add sysfs reporting for l1tf 2018-08-15 18:14:45 +02:00
bcma
block loop: remember whether sysfs_create_group() was done 2018-07-17 11:37:54 +02:00
bluetooth Bluetooth: btusb: Add a new Realtek 8723DE ID 2ff8:b011 2018-08-03 07:55:16 +02:00
bus drivers/perf: arm-ccn: don't log to dmesg in event_init 2018-08-03 07:55:19 +02:00
cdrom cdrom: do not call check_disk_change() inside cdrom_open() 2018-05-30 07:50:47 +02:00
char tpm: fix race condition in tpm_common_write() 2018-08-15 18:14:41 +02:00
clk clk: at91: PLL recalc_rate() now using cached MUL and DIV values 2018-07-03 11:23:13 +02:00
clocksource clocksource/drivers/fsl_ftm_timer: Fix error return checking 2018-05-30 07:50:32 +02:00
connector
cpufreq cpufreq: Fix new policy initialization during limits updates via sysfs 2018-06-26 08:08:08 +08:00
cpuidle cpuidle: powernv: Fix promotion from snooze if next state disabled 2018-07-03 11:23:08 +02:00
crypto crypto: padlock-aes - Fix Nano workaround data corruption 2018-08-06 16:23:04 +02:00
dax device-dax: implement ->split() to catch invalid munmap attempts 2018-02-28 10:18:33 +01:00
dca
devfreq PM / devfreq: Fix potential NULL pointer dereference in governor_store 2018-04-13 19:48:09 +02:00
dio
dma dmaengine: qcom: bam_dma: get num-channels and num-ees from dt 2018-05-30 07:50:48 +02:00
dma-buf dma-buf: remove redundant initialization of sg_table 2018-06-06 16:44:33 +02:00
edac EDAC, altera: Fix ARM64 build warning 2018-08-03 07:55:21 +02:00
eisa
extcon
firewire firewire-ohci: work around oversized DMA reads on JMicron controllers 2018-05-30 07:50:18 +02:00
firmware firmware: dmi_scan: Fix handling of empty DMI strings 2018-05-30 07:50:24 +02:00
fmc
fpga
gpio gpio: No NULL owner 2018-06-16 09:52:33 +02:00
gpu drm/vc4: Reset ->{x, y}_scaling[1] when dealing with uniplanar formats 2018-08-06 16:23:04 +02:00
hid HID: i2c-hid: check if device is there before really probing 2018-08-03 07:55:21 +02:00
hsi HSI: ssi_protocol: double free in ssip_pn_xmit() 2018-03-24 11:00:12 +01:00
hv Drivers: hv: vmbus: do not mark HV_PCIE as perf_device 2018-04-20 08:20:41 +02:00
hwmon hwmon: (pmbus/adm1275) Accept negative page register values 2018-05-30 07:50:46 +02:00
hwspinlock
hwtracing hwtracing: stm: fix build error on some arches 2018-06-06 16:44:38 +02:00
i2c i2c: imx: Fix reinit_completion() use 2018-08-09 12:18:00 +02:00
ide cdrom: do not call check_disk_change() inside cdrom_open() 2018-05-30 07:50:47 +02:00
idle idle: i7300: add PCI dependency 2018-02-25 11:05:55 +01:00
iio iio:buffer: make length types match kfifo types 2018-07-03 11:23:11 +02:00
infiniband IB/ocrdma: fix out of bounds access to local buffer 2018-08-15 18:14:43 +02:00
input Input: elan_i2c - add another ACPI ID for Lenovo Ideapad 330-15AST 2018-08-03 07:55:11 +02:00
iommu iommu/vt-d: Use domain instead of cache fetching 2018-05-30 07:50:20 +02:00
ipack
irqchip arm64: Add hypervisor safe helper for checking constant capabilities 2018-06-06 16:44:35 +02:00
isdn isdn: eicon: fix a missing-check bug 2018-06-13 16:16:42 +02:00
leds leds: pca955x: Correct I2C Functionality 2018-04-13 19:48:03 +02:00
lguest
lightnvm
macintosh drivers: macintosh: rack-meter: really fix bogus memsets 2018-05-30 07:50:42 +02:00
mailbox
mcb
md md: fix NULL dereference of mddev->pers in remove_and_add_spares() 2018-08-03 07:55:20 +02:00
media media: si470x: fix __be16 annotations 2018-08-03 07:55:26 +02:00
memory memory: tegra: Apply interrupts mask per SoC 2018-08-03 07:55:24 +02:00
memstick
message scsi: mptfusion: Add bounds check in mptctl_hp_targetinfo() 2018-05-25 16:13:06 +02:00
mfd mfd: cros_ec: Fail early if we cannot identify the EC 2018-08-03 07:55:16 +02:00
misc vmw_balloon: fix inflation with batching 2018-07-17 11:37:51 +02:00
mmc mmc: pwrseq: Use kmalloc_array instead of stack VLA 2018-08-03 07:55:24 +02:00
mtd mtd: nand: qcom: Add a NULL check for devm_kasprintf() 2018-08-15 18:14:43 +02:00
net xen/netfront: don't cache skb_shinfo() 2018-08-15 18:14:42 +02:00
nfc NFC: pn533: change order of free_irq and dev unregistration 2018-03-22 09:17:46 +01:00
ntb ntb_transport: Fix bug with max_mw_size parameter 2018-05-30 07:50:22 +02:00
nubus
nvdimm linvdimm, pmem: Preserve read-only setting for pmem devices 2018-07-03 11:23:13 +02:00
nvme nvme-pci: Remap CMB SQ entries on every controller reset 2018-07-17 11:37:54 +02:00
nvmem nvmem: properly handle returned value nvmem_reg_read 2018-08-03 07:55:22 +02:00
of of: unittest: for strings, account for trailing \0 in property length field 2018-07-03 11:23:08 +02:00
oprofile
parisc parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode 2018-05-30 07:50:43 +02:00
parport parport_pc: Add support for WCH CH382L PCI-E single parallel port card. 2018-04-08 12:12:57 +02:00
pci x86: Don't include linux/irq.h from asm/hardirq.h 2018-08-15 18:14:52 +02:00
pcmcia
perf drivers/perf: arm_pmu: handle no platform_device 2018-03-22 09:17:51 +01:00
phy phy: work around 'phys' references to usb-nop-xceiv devices 2018-01-23 19:57:07 +01:00
pinctrl pinctrl: intel: Read back TX buffer state 2018-08-06 16:23:02 +02:00
platform platform/x86: asus-wmi: Fix NULL pointer dereference 2018-06-26 08:08:05 +08:00
pnp
power power: supply: bq2415x: check for NULL acpi_id to avoid null pointer dereference 2018-04-29 11:31:56 +02:00
powercap PowerCap: Fix an error code in powercap_register_zone() 2018-04-13 19:47:56 +02:00
pps
ps3
ptp ptp: fix missing break in switch 2018-07-25 11:24:01 +02:00
pwm pwm: lpss: platform: Save/restore the ctrl register over a suspend/resume 2018-07-03 11:23:16 +02:00
rapidio drivers/rapidio/devices/rio_mport_cdev.c: fix resource leak in error handling path in 'rio_dma_transfer()' 2017-12-14 09:28:22 +01:00
ras
regulator regulator: pfuze100: add .is_enable() for pfuze100_swb_regulator_ops 2018-08-03 07:55:20 +02:00
remoteproc
reset
rpmsg rpmsg: smd: do not use mananged resources for endpoints and channels 2018-07-03 11:23:13 +02:00
rtc rtc: ensure rtc_set_alarm fails when alarms are not supported 2018-08-03 07:55:13 +02:00
s390 scsi: zfcp: fix missing REC trigger trace on enqueue without ERP thread 2018-07-03 11:23:12 +02:00
sbus
scsi scsi: sr: Avoid that opening a CD-ROM hangs with runtime power management enabled 2018-08-15 18:14:42 +02:00
sfi
sh
sn
soc soc: qcom: wcnss_ctrl: Fix increment in NV upload 2018-05-30 07:50:47 +02:00
spi spi: bcm-qspi: fIX some error handling paths 2018-05-30 07:50:45 +02:00
spmi
ssb
staging staging: lustre: ldlm: free resource when ldlm_lock_create() fails. 2018-08-03 07:55:25 +02:00
target tcm_fileio: Prevent information leak for short reads 2018-03-24 11:00:20 +01:00
tc
thermal thermal: exynos: fix setting rising_threshold for Exynos5433 2018-08-03 07:55:23 +02:00
thunderbolt thunderbolt: Resume control channel after hibernation image is created 2018-04-24 09:34:12 +02:00
tty tty: Fix data race in tty_insert_flip_string_fixed_flag 2018-08-03 07:55:22 +02:00
uio uio: fix incorrect memory leak cleanup 2018-04-13 19:47:59 +02:00
usb usb: hub: Don't wait for connect state at resume for powered-off ports 2018-08-03 07:55:25 +02:00
uwb
vfio vfio: platform: Fix reset module leak in error path 2018-08-03 07:55:13 +02:00
vhost vhost_net: validate sock before trying to put its fd 2018-07-22 14:27:38 +02:00
video video: uvesafb: Fix integer overflow in allocation 2018-07-03 11:23:16 +02:00
virt
virtio virtio_balloon: fix another race between migration and ballooning 2018-08-06 16:23:04 +02:00
vlynq
vme
w1 1wire: family module autoload fails because of upper/lower case mismatch. 2018-07-03 11:23:06 +02:00
watchdog watchdog: sbsa: use 32-bit read for WCV 2018-05-30 07:50:34 +02:00
xen xen: Remove unnecessary BUG_ON from __unbind_from_irq() 2018-07-03 11:23:16 +02:00
zorro zorro: Set up z->dev.dma_mask for the DMA API 2018-05-30 07:50:44 +02:00
Kconfig
Makefile usb: build drivers/usb/common/ when USB_SUPPORT is set 2018-02-25 11:05:45 +01:00