diff options
| author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2007-02-12 03:55:26 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:44 -0500 |
| commit | 36dff96b3b83c5d79a45b221adf137b571b03d65 (patch) | |
| tree | 149e42bd19a8f2f98e6aba6f933247e6333bad48 /include | |
| parent | 0465f790e06d6dbc07d9b569b74ee8154dfca280 (diff) | |
[PATCH] ps3: cleanup ps3fb before clearing HPTE
PS3: Cleanup the frame buffer device before clearing the HPTE mapping
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: James Simmons <jsimmons@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-powerpc/ps3fb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/ps3fb.h b/include/asm-powerpc/ps3fb.h index 8933adf535b8..ad81cf431964 100644 --- a/include/asm-powerpc/ps3fb.h +++ b/include/asm-powerpc/ps3fb.h | |||
| @@ -45,8 +45,10 @@ struct ps3fb_ioctl_res { | |||
| 45 | 45 | ||
| 46 | #ifdef CONFIG_FB_PS3 | 46 | #ifdef CONFIG_FB_PS3 |
| 47 | extern void ps3fb_flip_ctl(int on); | 47 | extern void ps3fb_flip_ctl(int on); |
| 48 | extern void ps3fb_cleanup(void); | ||
| 48 | #else | 49 | #else |
| 49 | static inline void ps3fb_flip_ctl(int on) {} | 50 | static inline void ps3fb_flip_ctl(int on) {} |
| 51 | static inline void ps3fb_cleanup(void) {} | ||
| 50 | #endif | 52 | #endif |
| 51 | 53 | ||
| 52 | #endif /* __KERNEL__ */ | 54 | #endif /* __KERNEL__ */ |
