lkml.org 
[lkml]   [2009]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 30/30] microblaze_mmu_v1: fcntl.h MMU update
On Mon, Apr 27, 2009 at 10:32:19AM +0200, monstr@monstr.eu wrote:
> From: Michal Simek <monstr@monstr.eu>
>
> Signed-off-by: Michal Simek <monstr@monstr.eu>
> ---
> arch/microblaze/include/asm/fcntl.h | 14 ++++++++++++++
> 1 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/arch/microblaze/include/asm/fcntl.h b/arch/microblaze/include/asm/fcntl.h
> index 46ab12d..b4d27f6 100644
> --- a/arch/microblaze/include/asm/fcntl.h
> +++ b/arch/microblaze/include/asm/fcntl.h
> @@ -1 +1,15 @@
> +#ifndef _ASM_MICROBLAZE_FCNTL_H
> +#define _ASM_MICROBLAZE_FCNTL_H
> +
> +#ifndef __uClinux__
> +
> +#define O_DIRECTORY 040000 /* must be a directory */
> +#define O_NOFOLLOW 0100000 /* don't follow links */
> +#define O_LARGEFILE 0200000
> +#define O_DIRECT 0400000 /* direct disk access hint */
> +
> +#endif /* __uClinux__ */
> +
> #include <asm-generic/fcntl.h>

Again, ABIs should always be the same for MMU vs noMMU.

Also no new port shall override the asm-generic/fcntl.h constants.



\
 
 \ /
  Last update: 2009-04-27 12:03    [W:2.027 / U:1.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site