lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <c62985530810201726w17ac4249h71c8feeb00fcd0e9@mail.gmail.com>
Date:	Tue, 21 Oct 2008 02:26:04 +0200
From:	"Frédéric Weisbecker" <fweisbec@...il.com>
To:	"David S. Miller" <davem@...emloft.net>,
	"Linux Kernel" <linux-kernel@...r.kernel.org>
Cc:	"William L. Irwin" <wli@...omorphy.com>,
	Sparc <sparclinux@...r.kernel.org>
Subject: Re: [PATCH] sparc: correct section of current_pc()

2008/10/18 Frederic Weisbecker <fweisbec@...il.com>:
> Latest mainline gives this section mismatch on sparc:
>
> The function current_pc() references
> the variable __init no_sun4u_here.
> This is often because current_pc lacks a __init
> annotation or the annotation of no_sun4u_here is wrong.
>
> Since current_pc() is used only in early time, it is correct to
> put it in .init section.
>
> Signed-off-by: Frederic Weisbecker <fweisbec@...il.com>
> ---
> diff --git a/arch/sparc/kernel/head.S b/arch/sparc/kernel/head.S
> index 2d325fd..2fe2c11 100644
> --- a/arch/sparc/kernel/head.S
> +++ b/arch/sparc/kernel/head.S
> @@ -465,6 +465,7 @@ gokernel:
>                mov     %o7, %g4                ! Save %o7
>
>                /* Jump to it, and pray... */
> +               __INIT
>  current_pc:
>                call    1f
>                 nop
>
>

(Adding William and sparclinux in cc)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ