Message ID | 5720AD9D.7020909@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 4adfb46..d10c385 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -108,7 +108,7 @@ void __show_regs(struct pt_regs *regs) else domain = *(unsigned int *)(regs + 1); #else - domain = get_domain(); + domain = IS_ENABLED(CONFIG_CPU_USE_DOMAINS)? get_domain() : 0; #endif #endif