All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <56D44672.2050304@redhat.com>

diff --git a/a/1.txt b/N1/1.txt
index 2489354..b7202e5 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -99,7 +99,8 @@ flags needed to build boot_rom to not change the common CFLAGS.
 >> @@ -10,6 +10,7 @@ ar=ar
 >>  arch=`uname -m | sed -e 's/i.86/i386/;s/arm.*/arm/;s/ppc64.*/ppc64/'`
 >>  host=$arch
->>  cross_prefix>> +endian=big # default for ppc64, the only user
+>>  cross_prefix=
+>> +endian=big # default for ppc64, the only user
 > 
 > If we default to 'little', then we don't have to worry about the current
 > architectures using it. Is big the better default for some reason? Also,
@@ -159,7 +160,7 @@ we are using.
 I can add them in the series.
 
 >> +
->> +#if __BYTE_ORDER__ = __ORDER_BIG_ENDIAN__
+>> +#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
 >> +
 >> +#define B_BE(addr)				\
 >> +	mtctr	addr;				\
@@ -168,7 +169,7 @@ I can add them in the series.
 >> +
 >> +#define RETURN_FROM_BE
 >> +
->> +#elif __BYTE_ORDER__ = __ORDER_LITTLE_ENDIAN__
+>> +#elif __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
 >> +
 >> +#define B_BE(addr)				\
 >> +	mfmsr	r11;				\
@@ -210,9 +211,9 @@ OK
 >>  #ifndef _ASMPPC64_IO_H_
 >>  #define _ASMPPC64_IO_H_
 >> +
->> +#if __BYTE_ORDER__ = __ORDER_LITTLE_ENDIAN__
+>> +#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
 >> +#define __cpu_is_be() (0)
->> +#elif __BYTE_ORDER__ = __ORDER_BIG_ENDIAN__
+>> +#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
 >>  #define __cpu_is_be() (1)
 >> +#else
 >> +#error Undefined byte order
@@ -255,7 +256,8 @@ OK
 >> +cflatobjs += lib/ppc64/spinlock.o
 >> +
 >> +# ppc64 specific tests
->> +tests >> +
+>> +tests =
+>> +
 >> +include $(TEST_DIR)/Makefile.common
 >> +
 >> +arch_clean: powerpc_clean
@@ -296,7 +298,7 @@ OK
 >>  asm-offsets = lib/$(ARCH)/asm-offsets.h
 >>  include scripts/asm-offsets.mak
 >> @@ -48,6 +49,7 @@ $(TEST_DIR)/boot_rom.bin: $(TEST_DIR)/boot_rom.elf
->>  	dd if=/dev/zero of=$@ bs%6 count=1
+>>  	dd if=/dev/zero of=$@ bs=256 count=1
 >>  	$(OBJCOPY) -O binary $^ >(cat - >>$@)
 >>  
 >> +$(TEST_DIR)/boot_rom.elf: CFLAGS = -mbig-endian $(common_CFLAGS) $(main_CFLAGS)
@@ -331,7 +333,8 @@ I can try.
 >> +cflatobjs += lib/ppc64/spinlock.o
 >> +
 >> +# ppc64 specific tests
->> +tests >> +
+>> +tests =
+>> +
 >> +include $(TEST_DIR)/Makefile.common
 >> +
 >> +arch_clean: powerpc_clean
@@ -358,7 +361,8 @@ I can try.
 >> -cflatobjs += lib/ppc64/spinlock.o
 >> -
 >> -# ppc64 specific tests
->> -tests >> -
+>> -tests =
+>> -
 >> -include $(TEST_DIR)/Makefile.common
 >> -
 >> -arch_clean: powerpc_clean
diff --git a/a/content_digest b/N1/content_digest
index 3e8f479..d0cbe2f 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -3,7 +3,7 @@
  "ref\020160226184502.35oadt5jw2ck46la@hawk.localdomain\0"
  "From\0Laurent Vivier <lvivier@redhat.com>\0"
  "Subject\0Re: [kvm-unit-tests PATCH v2 2/2] powerpc: select endianness\0"
- "Date\0Mon, 29 Feb 2016 13:24:02 +0000\0"
+ "Date\0Mon, 29 Feb 2016 14:24:02 +0100\0"
  "To\0Andrew Jones <drjones@redhat.com>\0"
  "Cc\0kvm@vger.kernel.org"
   kvm-ppc@vger.kernel.org
@@ -114,7 +114,8 @@
  ">> @@ -10,6 +10,7 @@ ar=ar\n"
  ">>  arch=`uname -m | sed -e 's/i.86/i386/;s/arm.*/arm/;s/ppc64.*/ppc64/'`\n"
  ">>  host=$arch\n"
- ">>  cross_prefix>> +endian=big # default for ppc64, the only user\n"
+ ">>  cross_prefix=\n"
+ ">> +endian=big # default for ppc64, the only user\n"
  "> \n"
  "> If we default to 'little', then we don't have to worry about the current\n"
  "> architectures using it. Is big the better default for some reason? Also,\n"
@@ -174,7 +175,7 @@
  "I can add them in the series.\n"
  "\n"
  ">> +\n"
- ">> +#if __BYTE_ORDER__ = __ORDER_BIG_ENDIAN__\n"
+ ">> +#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__\n"
  ">> +\n"
  ">> +#define B_BE(addr)\t\t\t\t\\\n"
  ">> +\tmtctr\taddr;\t\t\t\t\\\n"
@@ -183,7 +184,7 @@
  ">> +\n"
  ">> +#define RETURN_FROM_BE\n"
  ">> +\n"
- ">> +#elif __BYTE_ORDER__ = __ORDER_LITTLE_ENDIAN__\n"
+ ">> +#elif __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__\n"
  ">> +\n"
  ">> +#define B_BE(addr)\t\t\t\t\\\n"
  ">> +\tmfmsr\tr11;\t\t\t\t\\\n"
@@ -225,9 +226,9 @@
  ">>  #ifndef _ASMPPC64_IO_H_\n"
  ">>  #define _ASMPPC64_IO_H_\n"
  ">> +\n"
- ">> +#if __BYTE_ORDER__ = __ORDER_LITTLE_ENDIAN__\n"
+ ">> +#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__\n"
  ">> +#define __cpu_is_be() (0)\n"
- ">> +#elif __BYTE_ORDER__ = __ORDER_BIG_ENDIAN__\n"
+ ">> +#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__\n"
  ">>  #define __cpu_is_be() (1)\n"
  ">> +#else\n"
  ">> +#error Undefined byte order\n"
@@ -270,7 +271,8 @@
  ">> +cflatobjs += lib/ppc64/spinlock.o\n"
  ">> +\n"
  ">> +# ppc64 specific tests\n"
- ">> +tests >> +\n"
+ ">> +tests =\n"
+ ">> +\n"
  ">> +include $(TEST_DIR)/Makefile.common\n"
  ">> +\n"
  ">> +arch_clean: powerpc_clean\n"
@@ -311,7 +313,7 @@
  ">>  asm-offsets = lib/$(ARCH)/asm-offsets.h\n"
  ">>  include scripts/asm-offsets.mak\n"
  ">> @@ -48,6 +49,7 @@ $(TEST_DIR)/boot_rom.bin: $(TEST_DIR)/boot_rom.elf\n"
- ">>  \tdd if=/dev/zero of=$@ bs%6 count=1\n"
+ ">>  \tdd if=/dev/zero of=$@ bs=256 count=1\n"
  ">>  \t$(OBJCOPY) -O binary $^ >(cat - >>$@)\n"
  ">>  \n"
  ">> +$(TEST_DIR)/boot_rom.elf: CFLAGS = -mbig-endian $(common_CFLAGS) $(main_CFLAGS)\n"
@@ -346,7 +348,8 @@
  ">> +cflatobjs += lib/ppc64/spinlock.o\n"
  ">> +\n"
  ">> +# ppc64 specific tests\n"
- ">> +tests >> +\n"
+ ">> +tests =\n"
+ ">> +\n"
  ">> +include $(TEST_DIR)/Makefile.common\n"
  ">> +\n"
  ">> +arch_clean: powerpc_clean\n"
@@ -373,7 +376,8 @@
  ">> -cflatobjs += lib/ppc64/spinlock.o\n"
  ">> -\n"
  ">> -# ppc64 specific tests\n"
- ">> -tests >> -\n"
+ ">> -tests =\n"
+ ">> -\n"
  ">> -include $(TEST_DIR)/Makefile.common\n"
  ">> -\n"
  ">> -arch_clean: powerpc_clean\n"
@@ -429,4 +433,4 @@
  "> drew\n"
  >
 
-aec59181b6d4b94b807a6e42d58c4a403d2f5c3f69f8378a82fbcea75fc43afb
+0ef75f160c09cbc7f72433c8b0ca005977fa034df4c19e848754afa01f1de3c3

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.