linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Include linux/errno.h from arch/mips/include/asm/compa

To: David Daney <ddaney@caviumnetworks.com>
Subject: Re: [PATCH] MIPS: Include linux/errno.h from arch/mips/include/asm/compat.h
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 10 Apr 2009 12:16:11 -0700
Cc: linux-mips@linux-mips.org
In-reply-to: <1239388895-27305-1-git-send-email-ddaney@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1239388895-27305-1-git-send-email-ddaney@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Fri, Apr 10, 2009 at 11:41:35AM -0700, David Daney wrote:

> The recent change that added #include <linux/seccomp.h> breaks
> (because EINVAL is not defined) when building
> arch/mips/kernel/asm-offsets.s if CONFIG_SECCOMP is not defined.
> Including errno.h fixes the problem.

NAK, <linux/seccomp.h> should include <linux/errno.h>.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>