From patchwork Fri Mar 15 01:10:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 15367 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id B58A723E3E for ; Fri, 15 Mar 2013 01:10:24 +0000 (UTC) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by fiordland.canonical.com (Postfix) with ESMTP id 5463EA18DAD for ; Fri, 15 Mar 2013 01:10:24 +0000 (UTC) Received: by mail-vc0-f175.google.com with SMTP id hf12so881177vcb.34 for ; Thu, 14 Mar 2013 18:10:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=x2TouYYm1lYDxPGwvXwqZWNTRWwF5Y9+eAQLaJkEflU=; b=ROWreEdqrS5LIxAXudQPdpToC5cwOa+imibvwJQJrkq0rNxY83LBeeWAk9pEg1G75O 9kNWo1vrwBGDgH4pkfkoMsm3eY8VXgcPX9yJdOi2Tq+28gl1pIuPH7WveZj+obvL8Guk 0/5OaFJod5eiTuvI8DhxwVkrvk2t7txfwiAxWAUWvfAdPt+nRn343Vn97qd0IVm2Z3o3 CHYBHY1Rr+Ln29zucxdnRy9xgkxVjVbJm0ezp/1b8m4tLw7YYEkm6RnUyjR5Vz2l2G0x rKTgPmUc8cmQ9a1k3N1Mpc2rjgznBxyYRduhKB+SrYRcfwS55fRiL7jvxsW7C8ImxZeh 2+oA== X-Received: by 10.58.48.166 with SMTP id m6mr4598651ven.59.1363309823828; Thu, 14 Mar 2013 18:10:23 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp98670veb; Thu, 14 Mar 2013 18:10:23 -0700 (PDT) X-Received: by 10.68.11.135 with SMTP id q7mr11114589pbb.5.1363309822581; Thu, 14 Mar 2013 18:10:22 -0700 (PDT) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx.google.com with ESMTPS id tx10si7157027pbc.212.2013.03.14.18.10.21 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Mar 2013 18:10:22 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.54 is neither permitted nor denied by best guess record for domain of john.stultz@linaro.org) client-ip=209.85.160.54; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.54 is neither permitted nor denied by best guess record for domain of john.stultz@linaro.org) smtp.mail=john.stultz@linaro.org Received: by mail-pb0-f54.google.com with SMTP id rr4so3032374pbb.27 for ; Thu, 14 Mar 2013 18:10:21 -0700 (PDT) X-Received: by 10.68.196.35 with SMTP id ij3mr11001280pbc.56.1363309821649; Thu, 14 Mar 2013 18:10:21 -0700 (PDT) Received: from localhost.localdomain (c-24-21-54-107.hsd1.or.comcast.net. [24.21.54.107]) by mx.google.com with ESMTPS id rr14sm5782499pbb.34.2013.03.14.18.10.20 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Mar 2013 18:10:20 -0700 (PDT) From: John Stultz To: =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= Cc: John Stultz , Rebecca Schultz Zavin , Android Kernel Team Subject: [PATCH v2] ion: Add Kconfig dependency to ARM Date: Thu, 14 Mar 2013 18:10:16 -0700 Message-Id: <1363309816-21517-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQmm3xjsSWsmqGpbS/CSR9FAtrzdTpNLnEimq2R+mBKG5lVCaBquo+SHxdKMHd1lNFLx/ZbE The ion code has some very specific arm-isms which keeps it from building on other architectures. These should probably be resolved, but in the mean time, add a dependency on CONFIG_ARM to avoid build failures. v2: Fix earlier flub, sending out an early untested version of the patch. Cc: Rebecca Schultz Zavin Cc: Android Kernel Team Signed-off-by: John Stultz --- drivers/gpu/ion/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/ion/Kconfig b/drivers/gpu/ion/Kconfig index b5bfdb4..c62f2cb 100644 --- a/drivers/gpu/ion/Kconfig +++ b/drivers/gpu/ion/Kconfig @@ -1,5 +1,6 @@ menuconfig ION tristate "Ion Memory Manager" + depends on ARM select GENERIC_ALLOCATOR select DMA_SHARED_BUFFER help