Re: [patch] lockdep: special s390 print_symbol() version

From: Ingo Molnar
Date: Wed Jun 28 2006 - 08:19:35 EST



* Heiko Carstens <heiko.carstens@xxxxxxxxxx> wrote:

> +static inline void print_symbol(const char *fmt, unsigned long addr)
> +{
> + __check_printsym_format(fmt, "");
> + __print_symbol(fmt, (unsigned long)
> + __builtin_extract_return_addr((void *)addr));
> +}

yeah, this looks better i think than the #ifdef variant.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/