[Cbe-oss-dev] [FYI 25/27] ps3: bootmem buffers

Arnd Bergmann arnd at arndb.de
Sat Dec 2 03:06:41 EST 2006


Export ps3_stor_bounce_buffer, it's needed by the ps3 storage
driver, which might be a module.

Signed-off-by: Arnd Bergmann <arnd.bergmann at de.ibm.com>

Index: linux-2.6/arch/powerpc/platforms/ps3/setup.c
===================================================================
--- linux-2.6.orig/arch/powerpc/platforms/ps3/setup.c
+++ linux-2.6/arch/powerpc/platforms/ps3/setup.c
@@ -99,12 +99,13 @@ struct ps3_prealloc ps3fb_videomemory = 
 #define prealloc_ps3fb_videomemory()	do { } while (0)
 #endif
 
-#ifdef CONFIG_PS3_STORAGE
+#if defined(CONFIG_PS3_STORAGE) || defined(CONFIG_PS3_STORAGE_MODULE)
 struct ps3_prealloc ps3_stor_bounce_buffer = {
     .name = "ps3_stor bounce buffer",
     .size = 256*1024,
     .align = 256*1024
 };
+EXPORT_SYMBOL_GPL(ps3_stor_bounce_buffer);
 #define prealloc_ps3_stor_bounce_buffer()	prealloc(&ps3_stor_bounce_buffer)
 #else
 #define prealloc_ps3_stor_bounce_buffer()	do { } while (0)



More information about the cbe-oss-dev mailing list