j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Switch arch didn't get the right long size
Signed-off-by: Benjamin Herrenschmidt benh@kernel.crashing.org
diff --git a/config/scripts/switch-arch b/config/scripts/switch-arch index ab3b4ce..12a01f1 100755 --- a/config/scripts/switch-arch +++ b/config/scripts/switch-arch @@ -38,7 +38,7 @@ longbits() if test "$cpu" = "sparc64" -o "$cpu" = "ia64" \ -o "$cpu" = "amd64" -o "$cpu" = "x86_64" \ -o "$cpu" = "powerpc64" -o "$cpu" = "ppc64" \ - -o "$cpu" = "alpha"; then + -o "$cpu" = "alpha" -o "$cpu" = "ppc64le" ; then echo 64 else echo 32
On 25/08/16 00:55, Benjamin Herrenschmidt wrote:
Switch arch didn't get the right long size
Signed-off-by: Benjamin Herrenschmidt benh@kernel.crashing.org
diff --git a/config/scripts/switch-arch b/config/scripts/switch-arch index ab3b4ce..12a01f1 100755 --- a/config/scripts/switch-arch +++ b/config/scripts/switch-arch @@ -38,7 +38,7 @@ longbits() if test "$cpu" = "sparc64" -o "$cpu" = "ia64" \ -o "$cpu" = "amd64" -o "$cpu" = "x86_64" \ -o "$cpu" = "powerpc64" -o "$cpu" = "ppc64" \
-o "$cpu" = "alpha"; then
else echo 32-o "$cpu" = "alpha" -o "$cpu" = "ppc64le" ; then echo 64
Looks good to me. I've applied this to my next branch along with a slight edit to move the ppc64le next to the other ppc* checks for consistency.
ATB,
Mark.