2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 21:24:00 +08:00
linux-next/drivers/crypto
Tejun Heo 390dfd95c5 percpu: make misc percpu symbols unique
This patch updates misc percpu related symbols such that percpu
symbols are unique and don't clash with local symbols.  This serves
two purposes of decreasing the possibility of global percpu symbol
collision and allowing dropping per_cpu__ prefix from percpu symbols.

* drivers/crypto/padlock-aes.c: s/last_cword/paes_last_cword/

* drivers/lguest/x86/core.c: s/last_cpu/lg_last_cpu/

* drivers/s390/net/netiucv.c: rename the variable used in a macro to
  avoid clashing with percpu symbol

* arch/mn10300/kernel/kprobes.c: replace current_ prefix with cur_ for
  static variables.  Please note that percpu symbol current_kprobe
  can't be changed as it's used by generic code.

Partly based on Rusty Russell's "alloc_percpu: rename percpu vars
which cause name clashes" patch.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Christoph Lameter <cl@linux-foundation.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Chuck Ebbert <cebbert@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux390@de.ibm.com
2009-10-29 22:34:14 +09:00
..
amcc crypto: crypto4xx - Disable SHA implementation 2009-07-15 15:11:08 +08:00
geode-aes.c [CRYPTO] geode: Add __dev{init,exit} annotations 2008-01-11 08:16:38 +11:00
geode-aes.h [CRYPTO] geode: do not copy the IV too often 2008-01-11 08:16:26 +11:00
hifn_795x.c crypto: hifn_795x - fix __dev{init,exit} markings 2009-06-02 14:04:59 +10:00
ixp4xx_crypto.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2009-05-17 15:48:05 -07:00
Kconfig crypto: mv_cesa - Add support for Orion5X crypto engine 2009-08-10 12:50:03 +10:00
Makefile crypto: mv_cesa - Add support for Orion5X crypto engine 2009-08-10 12:50:03 +10:00
mv_cesa.c crypto: mv_cesa - Add support for Orion5X crypto engine 2009-08-10 12:50:03 +10:00
mv_cesa.h crypto: mv_cesa - Add support for Orion5X crypto engine 2009-08-10 12:50:03 +10:00
padlock-aes.c percpu: make misc percpu symbols unique 2009-10-29 22:34:14 +09:00
padlock-sha.c crypto: padlock - Fix hashing of partial blocks 2009-07-16 10:33:27 +08:00
padlock.h [CRYPTO] padlock: Added block cipher versions of CBC/ECB 2006-09-21 11:44:35 +10:00
talitos.c crypto: talitos - add support for 36 bit addressing 2009-08-13 11:51:51 +10:00
talitos.h crypto: talitos - add support for 36 bit addressing 2009-08-13 11:51:51 +10:00