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]
Date:	Fri, 24 Feb 2012 08:48:04 +1100
From:	Ryan Mallon <rmallon@...il.com>
To:	Nicolas Ferre <nicolas.ferre@...el.com>
CC:	plagnioj@...osoft.com, linux-arm-kernel@...ts.infradead.org,
	linux-kernel@...r.kernel.org, linux@....linux.org.uk, arnd@...db.de
Subject: Re: [PATCH v3 16/21] ARM: at91: finally drop at91_sys_read/write

On 24/02/12 01:26, Nicolas Ferre wrote:

> From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@...osoft.com>
> 
> Remove at91_sys_read/write() from io.h file. This function
> is not used anymore and was a stopper on the way to single
> zImage kernel for AT91.
> 
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@...osoft.com>
> Acked-by: Nicolas Ferre <nicolas.ferre@...el.com>


Nice work guys.

Acked-by: Ryan Mallon <rmallon@...il.com>

> ---
>  arch/arm/mach-at91/include/mach/io.h |   18 ------------------
>  1 files changed, 0 insertions(+), 18 deletions(-)
> 
> diff --git a/arch/arm/mach-at91/include/mach/io.h b/arch/arm/mach-at91/include/mach/io.h
> index 4ca09ef..4003001 100644
> --- a/arch/arm/mach-at91/include/mach/io.h
> +++ b/arch/arm/mach-at91/include/mach/io.h
> @@ -28,22 +28,4 @@
>  #define __io(a)		__typesafe_io(a)
>  #define __mem_pci(a)	(a)
>  
> -#ifndef __ASSEMBLY__
> -
> -static inline unsigned int at91_sys_read(unsigned int reg_offset)
> -{
> -	void __iomem *addr = (void __iomem *)AT91_VA_BASE_SYS;
> -
> -	return __raw_readl(addr + reg_offset);
> -}
> -
> -static inline void at91_sys_write(unsigned int reg_offset, unsigned long value)
> -{
> -	void __iomem *addr = (void __iomem *)AT91_VA_BASE_SYS;
> -
> -	__raw_writel(value, addr + reg_offset);
> -}
> -
> -#endif
> -
>  #endif


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