[Patch] kexec: fix a compiler warning on ppc64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 27, 2011 at 11:53:23AM +0800, Amerigo Wang wrote:
> I got the following warning when I compiled kexec-tools on ppc64,
> 
> In file included from kexec/arch/ppc64/kexec-ppc64.c:32:
> kexec/arch/ppc64/../../kexec-syscall.h:118:1: warning: "KEXEC_ARCH_NATIVE" redefined
> kexec/arch/ppc64/../../kexec-syscall.h:115:1: warning: this is the location of the previous definition
> 
> This is due to that ppc64 defines bot __powerpc64__ and __powerpc__,
> this patch fixes that warning.
> 
> Signed-off-by: WANG Cong <amwang at redhat.com>
> Cc: Simon Horman <horms at verge.net.au>

Thanks, applied.



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux