lkml.org 
[lkml]   [2017]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Incorrect usage of macro ALTERNATIVE in arch/x86/include/asm/arch_hweight.h
On Wed, Apr 12, 2017 at 05:38:59PM +0300, Corcodel Marian wrote:
> 1. Remove suppress errors message from compiler
>
> 2 . Run make to compile kernel
>
> Bellow is errors message from compiler:
>
> ./arch/x86/include/asm/arch_hweight.h: In function '__arch_hweight32':
> ./arch/x86/include/asm/arch_hweight.h:31:7: error: expected string literal
> before 'ALTERNATIVE'
> asm (ALTERNATIVE("call __sw_hweight32", POPCNT32, X86_FEATURE_POPCNT)
> ^
> ./arch/x86/include/asm/arch_hweight.h: In function '__arch_hweight64':
> ./arch/x86/include/asm/arch_hweight.h:59:7: error: expected string literal
> before 'ALTERNATIVE'
> asm (ALTERNATIVE("call __sw_hweight64", POPCNT64, X86_FEATURE_POPCNT)
>
>
> How determine contacts:
>
> From terminal run:
>
> asu@asu-ALABAMA:~/KERNEL/test4/linux-4.6.2$ perl scripts/get_maintainer.pl
> -f arch/x86/include/asm/arch_hweight.hperl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = "en",
> LC_ALL = (unset),
> LANG = "ro_RO.UTF-8"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> Bad divisor in main::vcs_assign: 0
> Thomas Gleixner <tglx@linutronix.de> (maintainer:X86 ARCHITECTURE (32-BIT
> AND 64-BIT))
> Ingo Molnar <mingo@redhat.com> (maintainer:X86 ARCHITECTURE (32-BIT AND
> 64-BIT))
> "H. Peter Anvin" <hpa@zytor.com> (maintainer:X86 ARCHITECTURE (32-BIT AND
> 64-BIT))
> x86@kernel.org (maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT))
> "GitAuthor: Corcodel Marian" <asd@marian1000.go.ro>
> (authored:1/1=100%,added_lines:66/66=100%)

Did you touch that file and now it fails building? Because this says there's one
commit from you touching arch/x86/include/asm/arch_hweight.h...

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.

\
 
 \ /
  Last update: 2017-04-13 11:45    [W:0.047 / U:0.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site