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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 27 Apr 2011 16:00:28 +0200
From:	Geert Uytterhoeven <geert@...ux-m68k.org>
To:	Akinobu Mita <akinobu.mita@...il.com>
Cc:	linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
	akpm@...ux-foundation.org, arnd@...db.de,
	Martin Schwidefsky <schwidefsky@...ibm.com>,
	Heiko Carstens <heiko.carstens@...ibm.com>
Subject: Re: [PATCH v3 2/7] arch: add #define for each of optimized find bitops

On Wed, Apr 27, 2011 at 15:20, Akinobu Mita <akinobu.mita@...il.com> wrote:
> The style that we normally use in asm-generic is to test the macro itself
> for existence, so in asm-generic, do:
>
>        #ifndef find_next_zero_bit_le
>        extern unsigned long find_next_zero_bit_le(const void *addr,
>                unsigned long size, unsigned long offset);
>        #endif
>
> and in the architectures, write
>
>        static inline unsigned long find_next_zero_bit_le(const void *addr,
>                unsigned long size, unsigned long offset)
>        #define find_next_zero_bit_le find_next_zero_bit_le
>
> This adds the #define for each of the optimized find bitops in the
> architectures.
>
> Suggested-by: Arnd Bergmann <arnd@...db.de>
> Signed-off-by: Akinobu Mita <akinobu.mita@...il.com>
> Acked-by: Hans-Christian Egtvedt <hans-christian.egtvedt@...el.com>
> Acked-by: Russell King <rmk+kernel@....linux.org.uk>
> Acked-by: Greg Ungerer <gerg@...inux.org>
> Cc: Martin Schwidefsky <schwidefsky@...ibm.com>
> Cc: Heiko Carstens <heiko.carstens@...ibm.com>
> Cc: Geert Uytterhoeven <geert@...ux-m68k.org>

Acked-by: Geert Uytterhoeven <geert@...ux-m68k.org>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
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