]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
compiler-gcc.h: Introduce __optimize function attribute
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 1 Feb 2018 10:21:58 +0000 (11:21 +0100)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 23 Feb 2018 14:26:46 +0000 (08:26 -0600)
commitce595859e494356527849eb4e548ee562e189e2c
treee6199a8bb86525bc04b62f80bc0f9f07c9df3b1c
parent39d1c74bc7c98f5271f58a30762630761befcc9e
compiler-gcc.h: Introduce __optimize function attribute

BugLink: http://bugs.launchpad.net/bugs/1751131
commit df5d45aa08f848b79caf395211b222790534ccc7 upstream.

Create a new function attribute __optimize, which allows to specify an
optimization level on a per-function basis.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
include/linux/compiler-gcc.h
include/linux/compiler.h