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]
Date:	Thu, 14 Mar 2013 13:25:56 +0000
From:	Jonathan Austin <jonathan.austin@....com>
To:	Chen Gang <gang.chen@...anux.com>
CC:	Russell King - ARM Linux <linux@....linux.org.uk>,
	Lorenzo Pieralisi <Lorenzo.Pieralisi@....com>,
	Santosh Shilimkar <santosh.shilimkar@...com>,
	"nico@...aro.org" <nico@...aro.org>,
	Catalin Marinas <Catalin.Marinas@....com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>,
	Will Deacon <will.deacon@....com>
Subject: Re: [Suggestion] Latest randconfig build errors for CONFIG_MMU=no

Hi Chen,

On 14/03/13 03:44, Chen Gang wrote:
> Hello Maintainers:
>
>    when use randconfig:
>      make V=1 EXTRA_CFLAGS=-W ARCH=arm randconfig
>        (and "grep CONFIG_MMU .config" outputs "# CONFIG_MMU is not set")
>
>    the error information:
>      arch/arm/kernel/suspend.c: 在函数‘cpu_suspend’中:
>      arch/arm/kernel/suspend.c:56:32: 错误:提领指向不完全类型的指针
>      arch/arm/kernel/suspend.c:70:3: 错误:隐式声明函数‘cpu_switch_mm’ [-Werror=implicit-function-declaration]
>      arch/arm/kernel/suspend.c:71:3: 错误:隐式声明函数‘local_flush_bp_all’ [-Werror=implicit-function-declaration]
>      arch/arm/kernel/suspend.c:72:3: 错误:隐式声明函数‘local_flush_tlb_all’ [-Werror=implicit-function-declaration]
>
>    I want to be sure whether we can bear it ?
>

You're right that at the moment that suspend code is broken for NOMMU.

However, Will Deacon has a patch to fix it in his nommu branch on 
kernel.org:

https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/commit/?h=nommu

I'll let Will comment on how/when he might look at proposing that code 
to be merged.

Jonny


--
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