Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46835
b: refs/heads/master
c: 5771576
h: refs/heads/master
i:
  46833: 03d85db
  46831: 991cd4d
v: v3
  • Loading branch information
Geoff Levand authored and Paul Mackerras committed Feb 7, 2007
1 parent 4c4b810 commit 66b0d9e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: b1eeb38e456281c37bbfc270a6ca08605b7e7045
refs/heads/master: 577157659fb0ace3b88dd75e2c6cb1af84b3040d
7 changes: 6 additions & 1 deletion trunk/arch/powerpc/platforms/ps3/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
* behalf of the guest. These mappings are implemented as 256 bit guest
* supplied bitmaps indexed by plug number. The addresses of the bitmaps
* are registered with the HV through lv1_configure_irq_state_bitmap().
* The HV requires that the 512 bits of status + mask not cross a page
* boundary. PS3_BMP_MINALIGN is used to define this minimal 64 byte
* alignment.
*
* The HV supports 256 plugs per thread, assigned as {0..255}, for a total
* of 512 plugs supported on a processor. To simplify the logic this
Expand All @@ -59,6 +62,8 @@
* can acquire.
*/

#define PS3_BMP_MINALIGN 64

struct ps3_bmp {
struct {
u64 status;
Expand All @@ -78,7 +83,7 @@ struct ps3_bmp {
*/

struct ps3_private {
struct ps3_bmp bmp __attribute__ ((aligned (64)));
struct ps3_bmp bmp __attribute__ ((aligned (PS3_BMP_MINALIGN)));
u64 node;
unsigned int cpu;
};
Expand Down

0 comments on commit 66b0d9e

Please sign in to comment.