diff options
Diffstat (limited to 'meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-fix-automounter-support-on-parisc.patch')
| -rw-r--r-- | meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-fix-automounter-support-on-parisc.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-fix-automounter-support-on-parisc.patch b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-fix-automounter-support-on-parisc.patch new file mode 100644 index 0000000000..e00fdc1901 --- /dev/null +++ b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-fix-automounter-support-on-parisc.patch | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | autofs-5.0.7 - fix automounter support on parisc | ||
| 2 | |||
| 3 | From: Helge Deller <deller@gmx.de> | ||
| 4 | |||
| 5 | This patch fixes automounter support on the parisc architecture with | ||
| 6 | 64-bit kernel and 32-bit userspace. | ||
| 7 | |||
| 8 | Signed-off-by: Helge Deller <deller@gmx.de> | ||
| 9 | --- | ||
| 10 | daemon/automount.c | 1 + | ||
| 11 | 1 file changed, 1 insertion(+) | ||
| 12 | |||
| 13 | diff --git a/daemon/automount.c b/daemon/automount.c | ||
| 14 | index 4a3eb3d..4c651cf 100644 | ||
| 15 | --- a/daemon/automount.c | ||
| 16 | +++ b/daemon/automount.c | ||
| 17 | @@ -610,6 +610,7 @@ static size_t get_kpkt_len(void) | ||
| 18 | if (strcmp(un.machine, "alpha") == 0 || | ||
| 19 | strcmp(un.machine, "ia64") == 0 || | ||
| 20 | strcmp(un.machine, "x86_64") == 0 || | ||
| 21 | + strcmp(un.machine, "parisc64") == 0 || | ||
| 22 | strcmp(un.machine, "ppc64") == 0) | ||
| 23 | pkt_len += 4; | ||
| 24 | |||
