diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-fix-automounter-support-on-parisc.patch | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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 | |||