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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120308121828.2cdbdc8c@de.ibm.com>
Date:	Thu, 8 Mar 2012 12:18:28 +0100
From:	Martin Schwidefsky <schwidefsky@...ibm.com>
To:	David Howells <dhowells@...hat.com>
Cc:	paul.gortmaker@...driver.com, hpa@...or.com,
	torvalds@...ux-foundation.org, sfr@...b.auug.org.au,
	mingo@...hat.com, arnd@...db.de, tglx@...utronix.de,
	linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org
Subject: Re: [PATCH 22/29] Disintegrate asm/system.h for S390

On Wed, 07 Mar 2012 19:50:01 +0000
David Howells <dhowells@...hat.com> wrote:

> diff --git a/arch/s390/include/asm/sigp.h b/arch/s390/include/asm/sigp.h
> index 06faf6a..d7008d1 100644
> --- a/arch/s390/include/asm/sigp.h
> +++ b/arch/s390/include/asm/sigp.h
> @@ -14,6 +14,14 @@
>  /* Get real cpu address from logical cpu number. */
>  extern unsigned short __cpu_logical_map[];
> 
> +static inline unsigned short stap(void)
> +{
> +	unsigned short cpu_address;
> +
> +	asm volatile("stap %0" : "=m" (cpu_address));
> +	return cpu_address;
> +}
> +
>  static inline int cpu_logical_map(int cpu)
>  {
>  #ifdef CONFIG_SMP

This hunk will conflict with "[PATCH] rework smp code" in the linux-next
tree. The sigp.h header is disintegrated as well..
But except for this little hiccup I like the idea to split system.h,
makes a lot of sense.

-- 
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.

--
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