From patchwork Tue Jun 29 06:50:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUJITA Tomonori X-Patchwork-Id: 108509 X-Patchwork-Delegate: deller@gmx.de Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5T6pFHi010543 for ; Tue, 29 Jun 2010 06:51:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752075Ab0F2GvP (ORCPT ); Tue, 29 Jun 2010 02:51:15 -0400 Received: from sh.osrg.net ([192.16.179.4]:45540 "EHLO sh.osrg.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752058Ab0F2GvO (ORCPT ); Tue, 29 Jun 2010 02:51:14 -0400 Received: from localhost (rose.osrg.net [10.76.0.1]) by sh.osrg.net (8.14.3/8.14.3/OSRG-NET) with ESMTP id o5T6oofa011019; Tue, 29 Jun 2010 15:50:50 +0900 Date: Tue, 29 Jun 2010 15:50:50 +0900 To: linux-parisc@vger.kernel.org Cc: kyle@mcmartin.ca, deller@gmx.de, jejb@parisc-linux.org, linux-kernel@vger.kernel.org Subject: [PATCH] parisc: set ARCH_KMALLOC_MINALIGN From: FUJITA Tomonori Mime-Version: 1.0 Message-Id: <20100629154801C.fujita.tomonori@lab.ntt.co.jp> Lines: 39 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 29 Jun 2010 06:51:16 +0000 (UTC) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (sh.osrg.net [192.16.179.4]); Tue, 29 Jun 2010 15:50:52 +0900 (JST) X-Virus-Scanned: clamav-milter 0.96.1 at sh X-Virus-Status: Clean Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org diff --git a/arch/parisc/include/asm/cache.h b/arch/parisc/include/asm/cache.h index 45effe6..5d87f27 100644 --- a/arch/parisc/include/asm/cache.h +++ b/arch/parisc/include/asm/cache.h @@ -22,6 +22,8 @@ #define L1_CACHE_SHIFT 5 #endif +#define ARCH_KMALLOC_MINALIGN L1_CACHE_BYTES + #ifndef __ASSEMBLY__ #define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))