Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933575AbaLED13 (ORCPT ); Thu, 4 Dec 2014 22:27:29 -0500 Received: from mail-ie0-f171.google.com ([209.85.223.171]:56932 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933139AbaLED11 (ORCPT ); Thu, 4 Dec 2014 22:27:27 -0500 MIME-Version: 1.0 In-Reply-To: <25c04eb72c621fc9bdf0aae25782ff5bad5a4b97.1417728278.git.ashutosh.dixit@intel.com> References: <25c04eb72c621fc9bdf0aae25782ff5bad5a4b97.1417728278.git.ashutosh.dixit@intel.com> From: Dan Streetman Date: Thu, 4 Dec 2014 22:27:06 -0500 X-Google-Sender-Auth: Pho58R-SpObfiiLOzf-UhlWIUV4 Message-ID: Subject: Re: [PATCH linux-next] Documentation: Build mic/mpssd only for x86_64 To: Ashutosh Dixit Cc: Jonathan Corbet , Jiri Kosina , Peter Foley , Randy Dunlap , Greg Kroah-Hartman , Jennings , Caz Yokoyama , Sudeep Dutt , Dasaratharaman Chandramouli , linux-kernel , linux-doc@vger.kernel.org, Nikhil Rao , Daniel Borkmann , linuxppc-dev@lists.ozlabs.org, Siva Yerramreddy Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 4, 2014 at 4:27 PM, Ashutosh Dixit wrote: > mic/mpssd along with MIC drivers are currently only usable on > x86_64. So build mic/mpssd only for x86_64 to avoid build breaks on > big-endian systems. Only building for x86_64 is fine, but in that case what's the point of leaving the htole16() et. al. functions in mpssd.c? Shouldn't they be removed? > > Reported-by: Daniel Borkmann > Reported-by: Dan Streetman > Suggested-by: Peter Foley > Signed-off-by: Ashutosh Dixit > --- > Documentation/mic/mpssd/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/mic/mpssd/Makefile b/Documentation/mic/mpssd/Makefile > index 0f31568..f47fe6b 100644 > --- a/Documentation/mic/mpssd/Makefile > +++ b/Documentation/mic/mpssd/Makefile > @@ -1,5 +1,5 @@ > # List of programs to build > -hostprogs-y := mpssd > +hostprogs-$(CONFIG_X86_64) := mpssd > > mpssd-objs := mpssd.o sysfs.o > > -- > 2.0.0.rc3.2.g998f840 > -- 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/