[lkml]   [2001]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectError compiling for sparc64
I reported this to Alan around -ac5, but never saw the patch included.

In arch/sparc64/kernel/sys_sparc32.c:~900

struct dqblk32 {
__u32 dqb_bhardlimit;
__u32 dqb_bsoftlimit;
__u32 dqb_curblocks;
__u32 dqb_ihardlimit;
__u32 dqb_isoftlimit;
__u32 dqb_curinodes;
__kernel_time_t32 dqb_btime;
__kernel_time_t32 dqb_itime;

extern asmlinkage int sys_quotactl(int cmd, const char *special, int id,
caddr_t addr);

asmlinkage int sys32_quotactl(int cmd, const char *special, int id, unsigned
long addr)
int cmds = cmd >> SUBCMDSHIFT;
int err;
struct dqblk d;

You can see the typo pretty easily.

The following patch allows the kernel to compile correctly
and has been working fine for the last 2 weeks under 2.4.0-ac5.
It should apply cleanly to ac11 as well.

--- linux/arch/sparc64/kernel/sys_sparc32.c Wed Jan 10 13:08:10 2001
+++ linux/arch/sparc64/kernel/sys_sparc32.c~ Fri Dec 29 13:07:21 2000
@@ +904,7 -904,7 @@
int cmds = cmd >> SUBCMDSHIFT;
int err;
+ struct dqblk32 d;
- struct dqblk d;
mm_segment_t old_fs;
char *spec;


Leif Sawyer -- Pi@4398680 || || internic: LS2540
(907) 868 - 0116 || ICQ - 3749190 ||
Network Engineer -- General Communication Inc.
PGP Fingerprint: 77 C8 34 B8 FD BC C6 32 5F FE 93 4B AE 6C F7 4E
Version: 3.1
GAT d+ s: a C+++(++)$ US++++$ UL++++$ P+++ L++(+++) E---
W+++ N+ o+ K w O- M- V PS+ PE Y+ PGP(+) t+@ 5- X R- tv b++(+++)
DI++++ D++ G+ e(+)* h-- r++ y+ PP++++ HH++++ A19 NT{--}
Decode it!

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:15    [W:0.336 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site