[asterisk-bugs] [DAHDI-linux 0014964]: [patch] xpp/ fails building with kernel 2.6.30-rc3: proc_dir_entry 'owner' removed

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 27 08:02:45 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14964 
====================================================================== 
Reported By:                tzafrir
Assigned To:                tzafrir
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   14964
Category:                   Astribank (xpp)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-04-23 18:39 CDT
Last Modified:              2009-05-27 08:02 CDT
====================================================================== 
Summary:                    [patch] xpp/ fails building with kernel 2.6.30-rc3:
proc_dir_entry 'owner' removed
Description: 
Kernel 2.6.30 removed the owner field of proc_dir_entry . The fix for
2.6.30 is to just not use it. Not sure about previous versions.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=99b76233803beab302123d243eea9e41149804f3

The attached patch removes it unconditionally.
====================================================================== 

---------------------------------------------------------------------- 
 (0105506) svnbot (reporter) - 2009-05-27 08:02
 https://issues.asterisk.org/view.php?id=14964#c105506 
---------------------------------------------------------------------- 
Repository: zaptel
Revision: 4648

U   branches/1.4/kernel/xpp/card_bri.c
U   branches/1.4/kernel/xpp/card_fxo.c
U   branches/1.4/kernel/xpp/card_fxs.c
U   branches/1.4/kernel/xpp/card_global.c
U   branches/1.4/kernel/xpp/card_pri.c
U   branches/1.4/kernel/xpp/xbus-core.c
U   branches/1.4/kernel/xpp/xdefs.h
U   branches/1.4/kernel/xpp/xpp_usb.c
U   branches/1.4/kernel/xpp/xpp_zap.c

------------------------------------------------------------------------
r4648 | tzafrir | 2009-05-27 08:02:44 -0500 (Wed, 27 May 2009) | 7 lines

xpp: 'owner' property of procfs was dropped in 2.6.30.

This adds a compatibility macro for older versions that is a noop for
kernels >= 2.6.30.



More information about the asterisk-bugs mailing list