public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] i386: HIGHMEM64G must depend on X86_CMPXCHG64
@ 2006-02-03 22:36 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-02-03 22:36 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

Due to the usage of set_64bit in include/asm-i386/pgtable-3level.h, 
HIGHMEM64G must depend on X86_CMPXCHG64.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 28 Jan 2006

--- linux-2.6.16-rc1-mm3-386/arch/i386/Kconfig.old	2006-01-28 16:04:45.000000000 +0100
+++ linux-2.6.16-rc1-mm3-386/arch/i386/Kconfig	2006-01-28 16:05:25.000000000 +0100
@@ -442,6 +442,7 @@
 
 config HIGHMEM64G
 	bool "64GB"
+	depends on X86_CMPXCHG64
 	help
 	  Select this if you have a 32-bit processor and more than 4
 	  gigabytes of physical RAM.

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [2.6 patch] i386 KEXEC must depend on X86_CMPXCHG64
@ 2005-11-17 23:57 Adrian Bunk
  2005-11-18  1:47 ` Eric W. Biederman
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-11-17 23:57 UTC (permalink / raw)
  To: ebiederm, rddunlap; +Cc: linux-kernel, fastboot

This patch fixes the following compile error with 
CONFIG_X86_CMPXCHG64=n:

<--  snip  -->

...
  CC      arch/i386/kernel/machine_kexec.o
arch/i386/kernel/machine_kexec.c: In function 'identity_map_page':
arch/i386/kernel/machine_kexec.c:78: error: implicit declaration of function 'set_64bit'
make[1]: *** [arch/i386/kernel/machine_kexec.o] Error 1

<--  snip  -->


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.15-rc1-mm1-full/arch/i386/Kconfig.old	2005-11-18 00:44:29.000000000 +0100
+++ linux-2.6.15-rc1-mm1-full/arch/i386/Kconfig	2005-11-18 00:45:11.000000000 +0100
@@ -662,7 +662,7 @@
 
 config KEXEC
 	bool "kexec system call (EXPERIMENTAL)"
-	depends on EXPERIMENTAL
+	depends on EXPERIMENTAL && X86_CMPXCHG64
 	help
 	  kexec is a system call that implements the ability to shutdown your
 	  current kernel, and to start another kernel.  It is like a reboot


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-03 22:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-03 22:36 [2.6 patch] i386: HIGHMEM64G must depend on X86_CMPXCHG64 Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-11-17 23:57 [2.6 patch] i386 KEXEC " Adrian Bunk
2005-11-18  1:47 ` Eric W. Biederman
2006-01-28 16:49   ` [2.6 patch] i386: HIGHMEM64G " Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox