[S390] s390: remove DEBUG_MALLOC
authorPekka Enberg <penberg@cs.helsinki.fi>
Mon, 22 Jun 2009 10:08:08 +0000 (12:08 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 22 Jun 2009 10:08:18 +0000 (12:08 +0200)
commit66d51f3e81b1067bdc836b3aba609eec957c693c
treef878119bd7968e98b33148e5f943df6977f4df4a
parent5c0792f6924333290ec3ca31c02e6555d73dba04
[S390] s390: remove DEBUG_MALLOC

The kernel now has kmemleak and kmemtrace so there's no reason to keep
this ugly s390 hack around. I am not sure how it's supposed to work on
SMP anyway as it uses a global variable to temporarily store the return
value of all kmalloc() calls:

  void *b;

  #define kmalloc(x...) (PRINT_INFO(" kmalloc %p\n",b=kmalloc(x)),b)

Cc: <linux-s390@vger.kernel.org>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/debug.h