Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161699
b: refs/heads/master
c: 44c58cc
h: refs/heads/master
i:
  161697: 5662124
  161695: e1ae089
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed Aug 20, 2009
1 parent a8ddc8a commit d101a05
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a245067e204f69c69abf92d94fc45ec65bf1f07e
refs/heads/master: 44c58ccc8dc25f78a4f641901f17092c93dd0458
14 changes: 10 additions & 4 deletions trunk/arch/powerpc/include/asm/ppc_asm.h
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,15 @@ END_FTR_SECTION_IFCLR(CPU_FTR_601)
#define PPC440EP_ERR42
#endif


#if defined(CONFIG_BOOKE)
/*
* toreal/fromreal/tophys/tovirt macros. 32-bit BookE makes them
* keep the address intact to be compatible with code shared with
* 32-bit classic.
*
* On the other hand, I find it useful to have them behave as expected
* by their name (ie always do the addition) on 64-bit BookE
*/
#if defined(CONFIG_BOOKE) && !defined(CONFIG_PPC64)
#define toreal(rd)
#define fromreal(rd)

Expand Down Expand Up @@ -426,10 +433,9 @@ END_FTR_SECTION_IFCLR(CPU_FTR_601)
.previous
#endif

#ifdef CONFIG_PPC64
#ifdef CONFIG_PPC_BOOK3S_64
#define RFI rfid
#define MTMSRD(r) mtmsrd r

#else
#define FIX_SRR1(ra, rb)
#ifndef CONFIG_40x
Expand Down

0 comments on commit d101a05

Please sign in to comment.