[LinuxPPS] Re: [PATCH 1/1] LinuxPPS: Pulse per Second support for Linux

Udo van den Heuvel udovdh at xs4all.nl
Sat May 12 14:39:32 CEST 2007


Rodolfo Giometti wrote:
> On Sat, May 12, 2007 at 02:21:23PM +0200, Udo van den Heuvel wrote:
> 
>> static int __init pps_init(void)
>> {
>>         int ret;
>>
>>         nl_sk = netlink_kernel_create(NETLINK_PPSAPI, 0,
>>                                         pps_nl_data_ready,  THIS_MODULE);
>> (cut)
>>
>> Gives me a clean compile.
> 
> You can get a clean compile have using the _last_ kernel realease. The
> netlink_kernel_create() interface has been changed in the days.

I only applied the 2.6.21.1 patch which is quite small and not
netlink-related.
I used your ntp-pps-2.6.21-bis.diff on top of that.

> The netlink_kernel_create() must be changed in the future otherwise we
> never enter into Linux kernel tree. :'(

Is my change OK to make things work?



More information about the LinuxPPS mailing list