Go to file
Rafael Aquini 24e31e2ac4 lib: devmem_is_allowed: include linux/io.h
JIRA: https://issues.redhat.com/browse/RHEL-27742

This patch is a backport of the following upstream commit:
commit 6b76ca2ab917185b63ded3d7f85bbf9998ab939e
Author: Arnd Bergmann <arnd@arndb.de>
Date:   Wed May 17 15:10:53 2023 +0200

    lib: devmem_is_allowed: include linux/io.h

    The devmem_is_allowed() function is defined in a file of the same name,
    but the declaration is in asm/io.h, which is not included there, causing a
    W=1 warning:

    lib/devmem_is_allowed.c:20:5: error: no previous prototype for 'devmem_is_allowed' [-Werror=missing-prototypes]

    Include the appropriate header to avoid the warning.

    Link: https://lkml.kernel.org/r/20230517131102.934196-6-arnd@kernel.org
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Cc: Boqun Feng <boqun.feng@gmail.com>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Christoph Lameter <cl@linux.com>
    Cc: Dennis Zhou <dennis@kernel.org>
    Cc: Eric Paris <eparis@redhat.com>
    Cc: Heiko Carstens <hca@linux.ibm.com>
    Cc: Helge Deller <deller@gmx.de>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Cc: Michal Simek <monstr@monstr.eu>
    Cc: Palmer Dabbelt <palmer@dabbelt.com>
    Cc: Paul Moore <paul@paul-moore.com>
    Cc: Pavel Machek <pavel@ucw.cz>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Rafael J. Wysocki <rafael@kernel.org>
    Cc: Russell King <linux@armlinux.org.uk>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Waiman Long <longman@redhat.com>
    Cc: Will Deacon <will@kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2024-09-05 20:35:31 -04:00
Documentation mm: convert migrate_pages() to work on folios 2024-09-05 20:35:25 -04:00
LICENSES
arch Merge: Update kernel's PCI subsystem to v6.10 2024-09-04 13:22:38 +00:00
block block: initialize integrity buffer to zero before writing it to media 2024-08-26 08:46:54 +08:00
certs integrity: PowerVM support for loading third party code signing keys 2024-02-05 19:05:32 +08:00
crypto crypto: pcrypt - Fix hungtask for PADATA_RESET 2024-05-29 13:20:49 +08:00
drivers Merge: Update kernel's PCI subsystem to v6.10 2024-09-04 13:22:38 +00:00
fs writeback: move wb_over_bg_thresh() call outside lock section 2024-09-05 20:35:09 -04:00
include mm: page_poison: always declare __kernel_map_pages() function 2024-09-05 20:35:29 -04:00
init modules: wait do_free_init correctly 2024-06-17 14:17:30 -04:00
io_uring io_uring/sqpoll: work around a potential audit memory leak 2024-07-26 17:07:19 -04:00
ipc Merge: ipc/msg: mitigate the lock contention in ipc/msg 2024-05-16 13:29:40 +00:00
kernel cgroup: remove cgroup_rstat_flush_atomic() 2024-09-05 20:35:12 -04:00
lib lib: devmem_is_allowed: include linux/io.h 2024-09-05 20:35:31 -04:00
mm mm: sparse: mark populate_section_memmap() static 2024-09-05 20:35:30 -04:00
net Merge: net/smc: reduce rtnl pressure in smc_pnet_create_pnetids_list() 2024-09-04 13:19:48 +00:00
redhat [redhat] kernel-5.14.0-505.el9 2024-09-04 13:48:51 +00:00
samples samples/bpf: Use %lu format specifier for unsigned long values 2024-06-25 11:07:33 +02:00
scripts Merge: net: Optimize cacheline consumption of core networking structs 2024-08-07 16:49:46 +00:00
security Merge: net: backport visibility improvements 2024-08-12 16:18:50 +00:00
sound ASoC: Intel: avs: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY 2024-08-15 15:31:13 -06:00
tools Merge: virtio_net: merge dma operations when filling mergeable buffers 2024-09-04 13:18:30 +00:00
usr kexec.h: add linux/kexec.h to UAPI compile-test coverage 2024-05-15 13:58:51 +08:00
virt KVM: guest_memfd: let kvm_gmem_populate() operate only on private gfns 2024-08-09 19:18:09 +02:00
.clang-format printk: Prepare for SRCU console list protection 2024-05-09 11:25:16 -04:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore redhat: rhdocs: delete .get_maintainer.conf 2024-06-06 09:36:57 -04:00
.gitlab-ci.yml gitlab-ci: allow coverage template to disable debug builds again 2024-04-09 14:39:33 +02:00
.mailmap mailmap: remove my redhat.com address from RHEL9's .mailmap file 2022-09-26 09:34:38 -04:00
COPYING
CREDITS MAINTAINERS: Drop Gustavo Pimentel as PCI DWC Maintainer 2024-05-13 15:56:48 -06:00
Kbuild
Kconfig
Kconfig.redhat redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option 2024-01-12 14:27:16 +01:00
MAINTAINERS Merge: update kselftests to include new cachestat test 2024-08-22 12:57:43 +00:00
Makefile Merge: Update MM Selftests for 9.5 2024-08-21 12:51:18 +00:00
Makefile.rhelver [redhat] kernel-5.14.0-505.el9 2024-09-04 13:48:51 +00:00
README
makefile

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.