From patchwork Mon Oct 25 16:07:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Namhyung Kim X-Patchwork-Id: 69115 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4E346B70A9 for ; Tue, 26 Oct 2010 03:07:42 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752838Ab0JYQHl (ORCPT ); Mon, 25 Oct 2010 12:07:41 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:52895 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751267Ab0JYQHk (ORCPT ); Mon, 25 Oct 2010 12:07:40 -0400 Received: by gyg4 with SMTP id 4so2134327gyg.19 for ; Mon, 25 Oct 2010 09:07:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=AZYZdG6TmhYZdkk0ENjSKimXwuenH1mRvyAda2wZqtw=; b=vajz0OclgvOj6z/td0ffX5HBPlaGo46AjYO4dzGIR1nj7BnSleTli3cscBWAjaeM/N ppE8Vb4Sx7feV87F+WcIiVr5EzSKDPvbJZ+YNR9ZKt4Rlaxjym80hstS3CK9QHr5zfgO RFo1JYdBc50WM5PEOcLbxWIvG/CmNmQCvoOFk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=Xm7qYMsfTBKJHOlDUHcfdshE2pIdgtqxjkpXcup8OaDWmG4PoW80b2+4OZDboXnzPm f3OMW+t0pj7gBQYhByK9ECHOjuB0XH4/WEEzJ5fMRGY63cq15skY52aImzqIqluAMHG5 A1ja4/uzn+dBr3eBvDGtKsE8UnWoUuP6ckajA= Received: by 10.150.49.13 with SMTP id w13mr9425675ybw.107.1288022859639; Mon, 25 Oct 2010 09:07:39 -0700 (PDT) Received: from [192.168.10.103] ([211.201.183.198]) by mx.google.com with ESMTPS id m25sm5670899yha.43.2010.10.25.09.07.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 25 Oct 2010 09:07:39 -0700 (PDT) Subject: Re: [PATCH 3/3] sparc32: fix build failure on CONFIG_SPARC_LEON From: Namhyung Kim To: David Miller Cc: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20101025.090043.71110898.davem@davemloft.net> References: <1288021958-3130-1-git-send-email-namhyung@gmail.com> <1288021958-3130-3-git-send-email-namhyung@gmail.com> <20101025.090043.71110898.davem@davemloft.net> Date: Tue, 26 Oct 2010 01:07:29 +0900 Message-ID: <1288022849.1689.14.camel@leonhard> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: sparclinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: sparclinux@vger.kernel.org 2010-10-25 (월), 09:00 -0700, David Miller: > From: Namhyung Kim > Date: Tue, 26 Oct 2010 00:52:38 +0900 > > > CC arch/sparc/kernel/irq_32.o > > arch/sparc/kernel/irq_32.c: In function 'request_fast_irq': > > arch/sparc/kernel/irq_32.c:370:25: error: conflicting types for 'trapbase_cpu1' > > I doubt SMP LEON chips even exist, so better to just anti-dep > this in arch/sparc/Kconfig If I understood correctly, you meant this? The LEON processor is a synthesizable VHDL model of the diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 4db8bc0..a6685ba 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -463,7 +463,7 @@ config SERIAL_CONSOLE config SPARC_LEON bool "Sparc Leon processor family" - depends on SPARC32 + depends on SPARC32 && !SMP ---help--- If you say Y here if you are running on a SPARC-LEON processor.