[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XFS on UltraSparc


> The filesystem itself works, but I felt ambitious and wanted to get ACLs and 
> EAs working from userspace, from what the XFS developers told me all I should 
> have to do is add syscall numbers for the appropriate architecture. I also 
> think I got this working right, but I had a few questions.
> 1) Since I'm running on an UltraSparc do I need to touch the files in 
> arch/sparc or just arch/sparc64? Same for include/asm-sparc and include/asm-
> sparc64?

The kernel will only need modifications to sparc64, but I dont know
if the utilities are using kernel includes (they shouldnt be).

> 2) I add the syscall entries to include/asm-sparc64/unistd.h and 
> arch/sparc64/kernel/systbls.S and update NR_SYSCALLS in 
> arch/sparc64/kernel/entry.S and I should be done right?

Check out arch/sparc64/kernel/ioctl32.c, in particular COMPATIBLE_IOCTL()
and HANDLE_IOCTL(). If the ioctls have been written properly (containing
u32/u64 and not unsigned long then the 32 bit and 64 bit ioctl structures
will be compatible, otherwise you will need to write wrapper functions.


Reply to: