[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] [patch 2/4] fix debug=y build: restrict audit_domains_key to x86
This patch is sent mostly as an RFC, since it needs to go to xen-devel for approval... audit_domains_key is only defined on x86, restrict it to that architecture. Signed-off-by: Aron Griffis <aron@xxxxxx> --- a/xen/common/keyhandler.c Thu Jun 01 15:32:44 2006 -0400 +++ b/xen/common/keyhandler.c Fri Jun 02 10:18:05 2006 -0400 @@ -222,7 +222,7 @@ static void read_clocks(unsigned char ke } extern void dump_runq(unsigned char key); -#ifndef NDEBUG +#if !defined(NDEBUG) && defined(CONFIG_X86) extern void audit_domains_key(unsigned char key); #endif @@ -268,8 +268,10 @@ void initialize_keytable(void) 't', read_clocks, "display multi-cpu clock info"); #ifndef NDEBUG +#ifdef CONFIG_X86 register_keyhandler( 'o', audit_domains_key, "audit domains >0 EXPERIMENTAL"); +#endif register_keyhandler( 'T', debugtrace_key, "toggle debugtrace to console/buffer"); #endif _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |