A mirror of the official Linux kernel repository just in case
Go to file
David Gow 760ee8f838 asm-generic: current: Don't include thread-info.h if building asm
asm/current.h is included by some assembly files (either directly, or
indirectly). This works on some architectures (such as x86), as their
implementation of current.h is careful to not include any C, but the
asm-generic version includes linux/thread-info.h unconditionally, which
leads to errors when either C code or non-asm-compatible preprocessor
directives are included.

Just wrap the contents behind an #ifndef __ASSEMBLY__ to avoid any C
code making its way in.

Signed-off-by: David Gow <davidgow@google.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
2023-08-26 22:38:49 +02:00
arch um: Remove unsued extern declaration ldt_host_info() 2023-08-26 22:36:14 +02:00
block block-6.5-2023-08-11 2023-08-11 12:14:08 -07:00
certs
crypto
Documentation Char/Misc driver fixes for 6.5-rc6 2023-08-12 09:03:15 -07:00
drivers platform-drivers-x86 for v6.5-4 2023-08-13 08:50:26 -07:00
fs for-6.5-rc5-tag 2023-08-12 13:28:55 -07:00
include asm-generic: current: Don't include thread-info.h if building asm 2023-08-26 22:38:49 +02:00
init
io_uring io_uring/parisc: Adjust pgoff in io_uring mmap() for parisc 2023-08-08 12:37:01 -06:00
ipc
kernel Power management fixes for 6.5-rc6 2023-08-11 12:24:22 -07:00
lib 14 hotfixes. 11 of these are cc:stable and the remainder address post-6.4 2023-08-11 14:19:20 -07:00
LICENSES
mm 14 hotfixes. 11 of these are cc:stable and the remainder address post-6.4 2023-08-11 14:19:20 -07:00
net Including fixes from netfilter, wireless and bpf. 2023-08-10 12:37:24 -07:00
rust
samples
scripts Kbuild fixes for v6.5 (2nd) 2023-08-13 08:56:24 -07:00
security
sound um: Fix hostaudio build errors 2023-08-19 23:30:22 +02:00
tools Char/Misc driver fixes for 6.5-rc6 2023-08-12 09:03:15 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS v6.5 second rc RDMA pull request 2023-08-11 19:39:01 -07:00
Makefile Linux 6.5-rc6 2023-08-13 11:29:55 -07:00
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.