public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olh@suse.de>
To: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Ulrich Drepper <drepper@redhat.com>,
	akpm@osdl.org, linux-kernel@vger.kernel.org, torvalds@osdl.org
Subject: Re: [PATCH] updated fstatat64 support
Date: Sun, 12 Feb 2006 14:09:03 +0100	[thread overview]
Message-ID: <20060212130903.GA20732@suse.de> (raw)
In-Reply-To: <20060211112157.GA9371@osiris.boeblingen.de.ibm.com>


s390 doesnt compile because sys_newfstatat() is not defined.
__ARCH_WANT_STAT64 is defined for 32bit build in
include/asm-s390/unistd.h. This change fixes compilation, but its likely
not correct to do it that way:

Index: linux-2.6.15/fs/stat.c
===================================================================
--- linux-2.6.15.orig/fs/stat.c
+++ linux-2.6.15/fs/stat.c
@@ -261,7 +261,7 @@ asmlinkage long sys_newlstat(char __user
        return error;
 }
 
-#ifndef __ARCH_WANT_STAT64
+#ifdef __ARCH_WANT_STAT64
 asmlinkage long sys_newfstatat(int dfd, char __user *filename,
                                struct stat __user *statbuf, int flag)
 {



-- 
short story of a lazy sysadmin:
 alias appserv=wotan

  reply	other threads:[~2006-02-12 13:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-10 15:28 [PATCH] updated fstatat64 support Ulrich Drepper
2006-02-11 11:21 ` Heiko Carstens
2006-02-12 13:09   ` Olaf Hering [this message]
2006-02-12 16:38     ` Ulrich Drepper
2006-02-12 16:48       ` Heiko Carstens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060212130903.GA20732@suse.de \
    --to=olh@suse.de \
    --cc=akpm@osdl.org \
    --cc=drepper@redhat.com \
    --cc=heiko.carstens@de.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox