]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/powerpc/platforms/pseries/nvram.c
powerpc/nvram: Move things out of asm/nvram.h
[mv-sheeva.git] / arch / powerpc / platforms / pseries / nvram.c
index bc3c7f2abd795322ab579da4137688e17f966663..f4e4c06284b4c4f0c2b5e7b011f8f82aea998e0e 100644 (file)
@@ -27,6 +27,8 @@ static int nvram_fetch, nvram_store;
 static char nvram_buf[NVRW_CNT];       /* assume this is in the first 4GB */
 static DEFINE_SPINLOCK(nvram_lock);
 
+/* Max bytes to read/write in one go */
+#define NVRW_CNT 0x20
 
 static ssize_t pSeries_nvram_read(char *buf, size_t count, loff_t *index)
 {