public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ia64: fix build failure on fs/quota.c
@ 2007-07-19 17:15 Doug Chapman
  2007-07-26 17:48 ` Doug Chapman
  2007-07-26 21:24 ` Luck, Tony
  0 siblings, 2 replies; 4+ messages in thread
From: Doug Chapman @ 2007-07-19 17:15 UTC (permalink / raw)
  To: linux-kernel, linux-ia64, vtaras


Fix ia64 build failure on fs/qutoa.c.  A recent patch used the
type compat_u64 which on ia64 is only available if CONFIG_COMPAT
is defined.


From: Tony Luck <tony.luck@intel.com>
Signed-off-by: Doug Chapman <doug.chapman@hp.com>

--

--- a/fs/quota.c
+++ b/fs/quota.c
@@ -387,7 +387,7 @@ asmlinkage long sys_quotactl(unsigned int cmd, const char __user *special, qid_t
        return ret;
 }
 
-#if defined(CONFIG_X86_64) || defined(CONFIG_IA64)
+#if defined(CONFIG_X86_64) || (defined(CONFIG_IA64) && defined(CONFIG_COMPAT))
 /*
  * This code works only for 32 bit quota tools over 64 bit OS (x86_64, ia64)
  * and is necessary due to alignment problems.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-26 21:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-19 17:15 [PATCH] ia64: fix build failure on fs/quota.c Doug Chapman
2007-07-26 17:48 ` Doug Chapman
2007-07-26 21:24 ` Luck, Tony
2007-07-26 21:58   ` Doug Chapman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox