Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751609AbaARWdX (ORCPT ); Sat, 18 Jan 2014 17:33:23 -0500 Received: from mail.skyhub.de ([78.46.96.112]:39188 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751436AbaARWdV (ORCPT ); Sat, 18 Jan 2014 17:33:21 -0500 Date: Sat, 18 Jan 2014 23:33:08 +0100 From: Borislav Petkov To: Bjarke Istrup Pedersen Cc: Paul Bolle , Linux Kernel Mailing List , Haiyang Zhang , "K. Y. Srinivasan" Subject: Re: [PATCH] Adding hyperv.h to uapi headers Message-ID: <20140118223308.GH15466@pd.tnic> References: <1390078081-26030-1-git-send-email-gurligebis@gentoo.org> <1390079163.25980.2.camel@x41> <20140118221212.GB15543@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 18, 2014 at 11:24:53PM +0100, Bjarke Istrup Pedersen wrote: > I should take all the parts the is not guarded by __KERNEL__, and move > them to a uapi header, and then include it at the top of the normal > header. Correct understood? :) Yes, that's basically the approach but be conservative - export only stuff which *really* is needed by userspace. And hyperv people should sanity-check what you're exporting because once it is out, it is cast in stone and there's no changing. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/