Re: Oops in pdflush

Andreas Schwab
2004-02-22T16:52:58Z

Keith Owens <kaos@sgi.com> writes:

> +#define UNW_DEBUG 6
> #ifdef UNW_DEBUG
> static unsigned int unw_debug_level = UNW_DEBUG;
> # ifdef CONFIG_KDB
> # include <linux/kdb.h>
> -# define UNW_DEBUG_ON(n) (unw_debug_level >= n && !KDB_IS_RUNNING())
> +# define UNW_DEBUG_ON(n) (unw_debug_level >= n && KDB_IS_RUNNING())
> # define UNW_DPRINT(n, ...) if (UNW_DEBUG_ON(n)) kdb_printf(__VA_ARGS__)
> # else /* !CONFIG_KDB */
> # define UNW_DEBUG_ON(n) unw_debug_level >= n

This does not fit to the current sources even with the kdb patch applied.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."