git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
arch
/
alpha
/
kernel
/
osf_sys.c
diff --git
a/arch/alpha/kernel/osf_sys.c
b/arch/alpha/kernel/osf_sys.c
index
a693bd2
..
4fe254a
100644
(file)
--- a/
arch/alpha/kernel/osf_sys.c
+++ b/
arch/alpha/kernel/osf_sys.c
@@
-617,7
+617,7
@@
osf_sysinfo(int command, char __user *buf, long count)
long len, err = -EINVAL;
offset = command-1;
long len, err = -EINVAL;
offset = command-1;
- if (offset >=
9
) {
+ if (offset >=
sizeof(sysinfo_table)/sizeof(char *)
) {
/* Digital UNIX has a few unpublished interfaces here */
printk("sysinfo(%d)", command);
goto out;
/* Digital UNIX has a few unpublished interfaces here */
printk("sysinfo(%d)", command);
goto out;
@@
-826,6
+826,7
@@
osf_setsysinfo(unsigned long op, void __user *buffer, unsigned long nbytes,
affects all sorts of things, like timeval and itimerval. */
extern struct timezone sys_tz;
affects all sorts of things, like timeval and itimerval. */
extern struct timezone sys_tz;
+extern int do_adjtimex(struct timex *);
struct timeval32
{
struct timeval32
{