ppp_generic.c doesn't compile on IA64

Peter Chubb (peter@chubb.wattle.id.au)
Thu, 20 Jun 2002 19:26:54 +1000


Hi Paul,
ppp_generic.c needs the attached patch (or something like it) to
compile on IA64, because outl() is a macro that expands to something
that doesn't look like a label.

--- /tmp/geta7153 Thu Jun 20 19:23:26 2002
+++ linux-2.5.23/drivers/net/ppp_generic.c Thu Jun 20 19:23:24 2002
@@ -2437,7 +2437,7 @@
write_lock_bh(&pch->upl);
ret = -EINVAL;
if (pch->ppp != 0)
- goto outl;
+ goto out_unlock;

ppp_lock(ppp);
if (pch->file.hdrlen > ppp->file.hdrlen)
@@ -2452,7 +2452,7 @@
ppp_unlock(ppp);
ret = 0;

- outl:
+ out_unlock:
write_unlock_bh(&pch->upl);
out:
up(&all_ppp_sem);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/