]> git.hungrycats.org Git - linux/commit
[PATCH] ppc64: cp_compat_stat should copy nanosecond fields
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 02:25:09 +0000 (18:25 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 02:25:09 +0000 (18:25 -0800)
commiteb55c013739a43db76537d8c00fc62573461fcbd
tree795e36a66bce0fc3f7f052f40b169ae78d90f3fb
parente341f63da4d5f63de1df7afeb15e03feae12a3d3
[PATCH] ppc64: cp_compat_stat should copy nanosecond fields

From: Anton Blanchard <anton@samba.org>

Looks like glibc is using stat in some places, so we should modify
it to copy the nanosecond fields. Also speed up stat by only checking
the region once instead of each put_user call.
arch/ppc64/kernel/sys_ppc32.c
include/asm-ppc64/compat.h