From: Heiko Carstens Date: Fri, 14 Sep 2012 10:59:47 +0000 (+0200) Subject: s390/ptrace: add missing ifdef X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~81^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66389e8583af71f8e01fab7c8e704a6b393663b9;p=pandora-kernel.git s390/ptrace: add missing ifdef if (MACHINE_HAS_TE) translates to if (0) on !CONFIG_64BIT however the compiler still warns about invalid shifts within non-reachable code. So add an explicit ifdef to get rid of this warning: arch/s390/kernel/ptrace.c: In function ‘update_per_regs’: arch/s390/kernel/ptrace.c:63:4: warning: left shift count >= width of type [enabled by default] arch/s390/kernel/ptrace.c:65:4: warning: left shift count >= width of type [enabled by default] Reported-by: Fengguang Wu Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed