lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a8e1da0705180154v37e8ec5fs2cc4de9417cd44d2@mail.gmail.com>
Date:	Fri, 18 May 2007 08:54:01 +0000
From:	"young dave" <hidave.darkstar@...il.com>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	"Andy Whitcroft" <apw@...dowen.org>,
	"Andrew Morton" <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, "Steve Fox" <drfickle@...ibm.com>,
	"Mel Gorman" <mel@....ul.ie>
Subject: Re: 2.6.22-rc1-mm1

Hi,
I have the same problem, your patch fixed it.
My gcc version is 3.4.6

>2007/5/16, H. Peter Anvin <hpa@...or.com>:
> Andy Whitcroft wrote:
> > Getting this on both x86 and x86_64 boxes, they are the older boxen so
> > likely older compilers:
>
> Please give the gcc version number.
>
> >   CC      arch/x86_64/boot/memory.o
> > arch/i386/boot/memory.c: In function `detect_memory':
> > arch/i386/boot/memory.c:32: error: can't find a register in class `DREG'
> > while reloading `asm'
> >
> > Seems to come from git-netsetup, but that tree isn't pulled into your
> > git version of -mm so I can't be more specific.
>
> Does the following patch work for you?
>
>         -hpa
>
>
> diff --git a/arch/i386/boot/memory.c b/arch/i386/boot/memory.c
> index 8a82aa9..d7b250b 100644
> --- a/arch/i386/boot/memory.c
> +++ b/arch/i386/boot/memory.c
> @@ -30,7 +30,7 @@ static int detect_memory_e820(void)
>                 size = sizeof(struct e820entry);
>                 id = SMAP;
>                 asm("int $0x15; setc %0"
> -                   : "=dm" (err), "+b" (next), "+d" (id), "+c" (size),
> +                   : "=am" (err), "+b" (next), "+d" (id), "+c" (size),
>                       "=m" (*desc)
>                     : "D" (desc), "a" (0xe820));
>

Regards
dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ