diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-05-05 06:33:10 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-05-05 06:57:12 -0400 |
commit | f6869e7fe657bd977e72954cd78c5871a6a4f71d (patch) | |
tree | 1e34a4bb36cde4b541d7344599e65b541bb4bee7 /arch/powerpc/boot | |
parent | 5a4e58bc693f04aa650219784e5e339e0db6b902 (diff) | |
parent | cec4b7eaf09d330e94e8e94133d360e6f1855974 (diff) |
Merge remote-tracking branch 'anton/abiv2' into next
This series adds support for building the powerpc 64-bit
LE kernel using the new ABI v2. We already supported
running ABI v2 userspace programs but this adds support
for building the kernel itself using the new ABI.
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/util.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/boot/util.S b/arch/powerpc/boot/util.S index 6636b1d7821b..243b8497d58b 100644 --- a/arch/powerpc/boot/util.S +++ b/arch/powerpc/boot/util.S | |||
@@ -45,7 +45,7 @@ udelay: | |||
45 | mfspr r4,SPRN_PVR | 45 | mfspr r4,SPRN_PVR |
46 | srwi r4,r4,16 | 46 | srwi r4,r4,16 |
47 | cmpwi 0,r4,1 /* 601 ? */ | 47 | cmpwi 0,r4,1 /* 601 ? */ |
48 | bne .udelay_not_601 | 48 | bne .Ludelay_not_601 |
49 | 00: li r0,86 /* Instructions / microsecond? */ | 49 | 00: li r0,86 /* Instructions / microsecond? */ |
50 | mtctr r0 | 50 | mtctr r0 |
51 | 10: addi r0,r0,0 /* NOP */ | 51 | 10: addi r0,r0,0 /* NOP */ |
@@ -54,7 +54,7 @@ udelay: | |||
54 | bne 00b | 54 | bne 00b |
55 | blr | 55 | blr |
56 | 56 | ||
57 | .udelay_not_601: | 57 | .Ludelay_not_601: |
58 | mulli r4,r3,1000 /* nanoseconds */ | 58 | mulli r4,r3,1000 /* nanoseconds */ |
59 | /* Change r4 to be the number of ticks using: | 59 | /* Change r4 to be the number of ticks using: |
60 | * (nanoseconds + (timebase_period_ns - 1 )) / timebase_period_ns | 60 | * (nanoseconds + (timebase_period_ns - 1 )) / timebase_period_ns |