Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48075
b: refs/heads/master
c: 36dff96
h: refs/heads/master
i:
  48073: c459f74
  48071: 808f52c
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Feb 12, 2007
1 parent 3b2205b commit 2d28e81
Show file tree
Hide file tree
Showing 3 changed files with 8 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: 0465f790e06d6dbc07d9b569b74ee8154dfca280
refs/heads/master: 36dff96b3b83c5d79a45b221adf137b571b03d65
6 changes: 5 additions & 1 deletion trunk/arch/powerpc/platforms/ps3/htab.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* PS3 pagetable management routines.
*
* Copyright (C) 2006 Sony Computer Entertainment Inc.
* Copyright 2006 Sony Corp.
* Copyright 2006, 2007 Sony Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand All @@ -24,6 +24,7 @@
#include <asm/lmb.h>
#include <asm/udbg.h>
#include <asm/lv1call.h>
#include <asm/ps3fb.h>

#include "platform.h"

Expand Down Expand Up @@ -233,6 +234,9 @@ static void ps3_hpte_invalidate(unsigned long slot, unsigned long va,

static void ps3_hpte_clear(void)
{
/* Make sure to clean up the frame buffer device first */
ps3fb_cleanup();

lv1_unmap_htab(htab_addr);
}

Expand Down
2 changes: 2 additions & 0 deletions trunk/include/asm-powerpc/ps3fb.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ struct ps3fb_ioctl_res {

#ifdef CONFIG_FB_PS3
extern void ps3fb_flip_ctl(int on);
extern void ps3fb_cleanup(void);
#else
static inline void ps3fb_flip_ctl(int on) {}
static inline void ps3fb_cleanup(void) {}
#endif

#endif /* __KERNEL__ */
Expand Down

0 comments on commit 2d28e81

Please sign in to comment.