Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52247 - ltmodem-8.26_alpha9-r3 wrong symbols for 2.6.6 kernel
Summary: ltmodem-8.26_alpha9-r3 wrong symbols for 2.6.6 kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High major (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-28 02:29 UTC by Faye Pearson
Modified: 2004-08-31 10:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for serial.c (ltmodem.patch,469 bytes, patch)
2004-05-28 02:30 UTC, Faye Pearson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Faye Pearson 2004-05-28 02:29:52 UTC
serial.c requires patching for 2.6.6 (and maybe others)

--- ltmodem-2.6-alk/serial.c    2003-10-17 13:21:40.000000000 +0100
+++ ltmodem-2.6-faye/serial.c   2004-05-28 10:13:57.773435544 +0100
@@ -155,9 +155,9 @@
 irqreturn_t    VMODEM_Hw_Int_Proc (int irq, void *dev_id, struct pt_regs * regs)
 {
        unsigned long flags;
-       save_flags(flags);
+       local_save_flags(flags);
        lt_modem_ops.dsp_isr();
-       restore_flags(flags);
+       local_irq_restore(flags);
        return IRQ_HANDLED;
 }
Comment 1 Faye Pearson 2004-05-28 02:30:51 UTC
Created attachment 32195 [details, diff]
patch for serial.c

replaces save_flags and restore_flags functions.
Comment 2 Faye Pearson 2004-07-30 10:27:07 UTC
Compiles with recent 2.6 sources and recent ltmodem, so I guess this bug is closed.
Comment 3 mike 2004-08-31 10:19:12 UTC
I don't think this bug is closed yet.  I just compiled ltmodem with newst ck sources and ltserial gagged when i tried to modprobe it.  I had to use the ebuild command to unpack ltmodem-8.26_alpha9-r3.ebuild, then patch the source code for serial.c manually, then ebuild again to compile, install, and qmerge.  After that ltserial loads smoothly.  Seems as though ltmodem-8.26_alpha9-r3.ebuild still needs fixing.