From patchwork Sun Jan 9 19:29:57 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 466771 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p09JUNWb015559 for ; Sun, 9 Jan 2011 19:30:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751964Ab1AITaW (ORCPT ); Sun, 9 Jan 2011 14:30:22 -0500 Received: from pqueuea.post.tele.dk ([193.162.153.9]:40193 "EHLO pqueuea.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751288Ab1AITaW (ORCPT ); Sun, 9 Jan 2011 14:30:22 -0500 Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [195.41.46.236]) by pqueuea.post.tele.dk (Postfix) with ESMTP id 8A529DBB72; Sun, 9 Jan 2011 20:30:21 +0100 (CET) Received: from merkur.ravnborg.org (x1-6-00-1e-2a-84-ae-3e.k225.webspeed.dk [80.163.61.94]) by pfepb.post.tele.dk (Postfix) with ESMTP id B96A1F8402A; Sun, 9 Jan 2011 20:29:57 +0100 (CET) Date: Sun, 9 Jan 2011 20:29:57 +0100 From: Sam Ravnborg To: lkml , linux-kbuild , linux arch , Arnd Bergmann , Guan Xuetao , Michal Marek Subject: [EXAMPLE PATCH 2/2] x86: start to utilize kbuild asm-generic support Message-ID: <20110109192957.GB12403@merkur.ravnborg.org> References: <20110108130302.GA21698@merkur.ravnborg.org> <20110109192707.GA12387@merkur.ravnborg.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20110109192707.GA12387@merkur.ravnborg.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sun, 09 Jan 2011 19:30:24 +0000 (UTC) diff --git a/arch/x86/include/asm/Kbuild b/arch/x86/include/asm/Kbuild index 6fa90a8..52bf61c 100644 --- a/arch/x86/include/asm/Kbuild +++ b/arch/x86/include/asm/Kbuild @@ -23,3 +23,9 @@ header-y += unistd_32.h header-y += unistd_64.h header-y += vm86.h header-y += vsyscall.h + +# generic headers from include/asm-generic/ +generic-y += termios.h +generic-y += termbits.h +generic-y += rtc.h + diff --git a/arch/x86/include/asm/rtc.h b/arch/x86/include/asm/rtc.h deleted file mode 100644 index f71c3b0..0000000 --- a/arch/x86/include/asm/rtc.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/x86/include/asm/termbits.h b/arch/x86/include/asm/termbits.h deleted file mode 100644 index 3935b10..0000000 --- a/arch/x86/include/asm/termbits.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/x86/include/asm/termios.h b/arch/x86/include/asm/termios.h deleted file mode 100644 index 280d78a..0000000 --- a/arch/x86/include/asm/termios.h +++ /dev/null @@ -1 +0,0 @@ -#include