From patchwork Mon Oct 2 05:44:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 9980229 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 46CF460365 for ; Mon, 2 Oct 2017 05:44:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CA9126E97 for ; Mon, 2 Oct 2017 05:44:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F28B281E1; Mon, 2 Oct 2017 05:44:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6ACD626E97 for ; Mon, 2 Oct 2017 05:44:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750763AbdJBFoe (ORCPT ); Mon, 2 Oct 2017 01:44:34 -0400 Received: from mout.gmx.net ([212.227.15.19]:60259 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750760AbdJBFod (ORCPT ); Mon, 2 Oct 2017 01:44:33 -0400 Received: from ls3530.fritz.box ([193.159.19.88]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MexFh-1dekEt38sz-00OTtf; Mon, 02 Oct 2017 07:44:26 +0200 Date: Mon, 2 Oct 2017 07:44:24 +0200 From: Helge Deller To: linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: [PATCH] parisc: Avoid include of linux/types.h in pdc.h Message-ID: <20171002054424.GA12619@ls3530.fritz.box> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.0 (2017-09-02) X-Provags-ID: V03:K0:yVaw+K+C3semy5SGRaxJhHQtk1T5fmcVMdMWazJYHKaysFGE/HY xqwIigyXgVM2n+0dmioUjnRG5nJpvDAke2dHBLwW3KocIfESB9YRVZv07O7T3JRs5GqELab 2UCmKrfSq03NSUkf98ZNfvfC7IDB/bU9a1CAnAyj+FC278R0ZMHSWKZ5rNriJua8skfoWB0 VFPv5WSH0y+eHBrWNi3Og== X-UI-Out-Filterresults: notjunk:1; V01:K0:S++ZGZlPqLU=:qqY4gHg3fLfwry70PM3uN5 nTLnlDN9swu4uZMej7akrlWhutvcL34a4jMwVVdpSGCc7q+KxuTrvOEhK7/xmQ+iSMoSyuGkn zKUtBD+CQLnvH2DIC3hf257yufq5tWjDJFSYu8/dU3P8yExkBnVpONjQdBUEEjXb0Rci6gwvi 7Zs68SL60h1KAVMShprgjOH8K79EdpT4Y1c2wjXIbneFynx6pgrTIcFwib0J6KkGc/YvmHtDy EmyarwNLH1TAiNsq6rYmhbWZNQoASIn/Z9ttmPZO7fgDFQBiF4uugsH0fl8nwXsqwMUzL6xFw qNqgxIm0lBnNnBjiGGzmsLqq90LAkR0FE2GDMIYLFlvCPgFF6gGCvN+QZE+ygGtvQxaakUbgk fwVTxdCxeXyXyIS2jEIo5FPyKKs8wRv+MQSxcB7aTSiQN7ff9WUgsd9Hc+bzQYQ1mPHlUavOK GLmUOQrcPYpOdzuuQD1lqpG7TJBVK2SDPa9AiBaiIN2eiH6njCKWYllHhFgqpzFY6RdpXCmgE QZJWPxb5PLvo8k+6hMSjwG3/yHm2qIR8RJLskA5Vh7XTkyLSau+C0Enjho42U/0bxf8Hkon8h nDADi6re6xbCWdF2QDuyQRSCrZsD5w7E/4IdkPgXLmdmpLKVGIUzto8D14hQMf6/N4x5ha2X8 TaA1QGpC0jYyntp7/NYCe6MFMdprwBzLyT2aAPAEE7Lq+ZdaSynyawk4v0oWABbEVTvkxaYQz OZsrNNP6/5+QoQeu5Iqc2Bmg298nkDm0VKU32XNsXh3z1BV84ANFtMyQKCSXNSX3jog0c4fFW q0tdttyyZkOuijnTgUDjnSjy7qzUg== Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make pdc.h more easily reuseable outside of the kernel, e.g. for seabios and qemu builds. Signed-off-by: Helge Deller --- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/parisc/include/uapi/asm/pdc.h b/arch/parisc/include/uapi/asm/pdc.h index 1f30b49772aa..25e85448b252 100644 --- a/arch/parisc/include/uapi/asm/pdc.h +++ b/arch/parisc/include/uapi/asm/pdc.h @@ -339,9 +339,6 @@ #if !defined(__ASSEMBLY__) -#include - - /* flags of the device_path */ #define PF_AUTOBOOT 0x80 #define PF_AUTOSEARCH 0x40 @@ -417,9 +414,9 @@ struct zeropage { int pad430[116]; /* [0x600] processor dependent */ - __u32 pad600[1]; - __u32 proc_sti; /* pointer to STI ROM */ - __u32 pad608[126]; + unsigned int pad600[1]; + unsigned int proc_sti; /* pointer to STI ROM */ + unsigned int pad608[126]; }; #endif /* !defined(__ASSEMBLY__) */