From patchwork Wed Sep 24 13:29:02 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Berg X-Patchwork-Id: 1285 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 26DE9DE395 for ; Wed, 24 Sep 2008 23:30:09 +1000 (EST) X-Original-To: linuxppc-dev@ozlabs.org Delivered-To: linuxppc-dev@ozlabs.org Received: from sipsolutions.net (xc.sipsolutions.net [83.246.72.84]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4E6A5DDE2A for ; Wed, 24 Sep 2008 23:29:55 +1000 (EST) Received: by sipsolutions.net with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KiURC-0005ms-V9; Wed, 24 Sep 2008 15:29:51 +0200 Subject: [PATCH] powerpc: make 64-bit hibernation depend on !64K_PAGES From: Johannes Berg To: linuxppc-dev list Date: Wed, 24 Sep 2008 15:29:02 +0200 Message-Id: <1222262942.4257.9.camel@johannes.berg> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-BeenThere: linuxppc-dev@ozlabs.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org For reasons I haven't tried to figure out yet, and which are quite possibly my own fault, the hibernation code doesn't work with 64K pages. Until somebody is able to figure out why (if anyone cares; I seem to be the only person on earth actually using this code once a while) make it depend on !PPC_64K_PAGES. Signed-off-by: Johannes Berg --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -194,7 +194,7 @@ config HIBERNATE_32 config HIBERNATE_64 bool - depends on BROKEN || (PPC_PMAC64 && EXPERIMENTAL) + depends on BROKEN || (PPC_PMAC64 && !PPC_64K_PAGES && EXPERIMENTAL) default y config ARCH_HIBERNATION_POSSIBLE