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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 22 Jun 2013 15:40:36 +0800
From:	Chen Gang <>
To:, Max Filippov <>
	"" <>,
	Linux-Arch <>
Subject: [PATCH] arch: xtensa: include: asm: define '_PAGE_CHG_MASK' when

Define '_PAGE_CHG_MASK' when 'NOMMU' to pass compiling.

The related make:

  make ARCH=xtensa allmodconfig
  make ARCH=xtensa menuconfig
    set "xtensa-linux-gnu-" for "Cross compilier tool prefix"
    select "s6000" for "Processor type and features" -> "Xtensa Processor"
  make ARCH=xtensa EXTRA_CFLAGS=-W

The related error:

  arch/xtensa/include/asm/pgtable.h: In function ‘pte_modify’:
  arch/xtensa/include/asm/pgtable.h:289:9: error: ‘_PAGE_CHG_MASK’ undeclared (first use in this function)

Signed-off-by: Chen Gang <>
 arch/xtensa/include/asm/pgtable.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/xtensa/include/asm/pgtable.h b/arch/xtensa/include/asm/pgtable.h
index 7e09f70..a28c49b 100644
--- a/arch/xtensa/include/asm/pgtable.h
+++ b/arch/xtensa/include/asm/pgtable.h
@@ -149,9 +149,10 @@
 #define _PAGE_DIRTY		(1<<7)	/* software: page dirty */
 #define _PAGE_ACCESSED		(1<<8)	/* software: page accessed (read) */
 #ifdef CONFIG_MMU
 #define PAGE_NONE	   __pgprot(_PAGE_NONE | _PAGE_USER)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists