From 1531033d84b91327a203f57727133096ab9f4984 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 11 Feb 2011 09:55:48 +0000 Subject: =?UTF-8?q?2011-02-11=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * mpc6xx/altivec/vec_sup.c, mpc6xx/mmu/bat.h: Fix up comments having been broken in previous commit. --- c/src/lib/libcpu/powerpc/ChangeLog | 5 +++++ c/src/lib/libcpu/powerpc/mpc6xx/altivec/vec_sup.c | 2 +- c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'c/src') diff --git a/c/src/lib/libcpu/powerpc/ChangeLog b/c/src/lib/libcpu/powerpc/ChangeLog index b6679a969a..16d3d312e9 100644 --- a/c/src/lib/libcpu/powerpc/ChangeLog +++ b/c/src/lib/libcpu/powerpc/ChangeLog @@ -1,3 +1,8 @@ +2011-02-11 Ralf Corsépius + + * mpc6xx/altivec/vec_sup.c, mpc6xx/mmu/bat.h: + Fix up comments having been broken in previous commit. + 2011-02-11 Ralf Corsépius * e500/mmu/mmu.c, mpc505/ictrl/ictrl.c, mpc505/timer/timer.c, diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/altivec/vec_sup.c b/c/src/lib/libcpu/powerpc/mpc6xx/altivec/vec_sup.c index 4fa16e5aa8..0b7403af5f 100644 --- a/c/src/lib/libcpu/powerpc/mpc6xx/altivec/vec_sup.c +++ b/c/src/lib/libcpu/powerpc/mpc6xx/altivec/vec_sup.c @@ -141,7 +141,7 @@ rst_MSR_VE(uint32_t old) */ static void dummy(void) __attribute__((noinline)); -/* add (empty) __asm__ statement to make sure this isn't optimized away */ +/* add (empty) asm-statement to make sure this isn't optimized away */ static void dummy(void) { __asm__ volatile(""); } static unsigned probe_r1(void) __attribute__((noinline)); diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.h b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.h index 28e1748a13..f8cbe13d2c 100644 --- a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.h +++ b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.h @@ -65,7 +65,7 @@ extern int getdbat(int bat_index, unsigned long *pu, unsigned long *pl); /* Same as getdbat but reads IBAT */ extern int getibat(int bat_index, unsigned long *pu, unsigned long *pl); -/* Do not use the __asm__ routines; they are obsolete; use setdbat() instead */ +/* Do not use the asm-routines; they are obsolete; use setdbat() instead */ extern void asm_setdbat0(unsigned int uperPart, unsigned int lowerPart); extern void asm_setdbat1(unsigned int uperPart, unsigned int lowerPart); extern void asm_setdbat2(unsigned int uperPart, unsigned int lowerPart); -- cgit v1.2.3