On Fri, 2007-06-29 at 18:34 +0200, Rodolfo Giometti wrote: > Gulp! Can you please give me some advices in order to solve also this > problem? Should I use some "ifdef CONFIG_COMPAT" into those > structures? :-o Remember you have to support _both_ 32-bit and 64-bit system calls. You need to define struct compat_pps_info and struct compat_pps_params, and you'll have to provide a compat wrapper for sys_time_pps_getparams() and sys_time_pps_setparams(). You'll also need to extend your compat_sys_time_pps_fetch() wrapper to handle the struct pps_info too. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- From: Rodolfo Giometti <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- References:
- Re: [PATCH] LinuxPPS (with new syscalls API)
- From: Rodolfo Giometti <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API)
- From: David Woodhouse <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API)
- From: Rodolfo Giometti <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API)
- From: David Woodhouse <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API)
- From: Rodolfo Giometti <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API)
- From: David Woodhouse <[email protected]>
- [PATCH] LinuxPPS (with new syscalls API) - new version
- From: Rodolfo Giometti <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- From: David Woodhouse <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- From: Rodolfo Giometti <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- From: David Woodhouse <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- From: Rodolfo Giometti <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API)
- Prev by Date: Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- Next by Date: [PATCH] fix logic error in ipc compat semctl()
- Previous by thread: Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- Next by thread: Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- Index(es):