summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/nvram.h
diff options
context:
space:
mode:
authorJim Keniston <jkenisto@linux.vnet.ibm.com>2011-02-09 12:43:13 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-03-04 18:19:04 +1100
commit0f4ac132365e56802cbe377313491aa84086371c (patch)
tree447b5da68f7c3160bbe9c9262f0ed337a2008d57 /arch/powerpc/include/asm/nvram.h
parent6dd227002972be910c6191f38f8641e01796557f (diff)
powerpc/nvram: Generalize code for OS partitions in NVRAM
Adapt the functions used to create and write to the RTAS-log partition to work with any OS-type partition. Signed-off-by: Jim Keniston <jkenisto@us.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/nvram.h')
-rw-r--r--arch/powerpc/include/asm/nvram.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/nvram.h b/arch/powerpc/include/asm/nvram.h
index 92efe67d1c5..9d1aafe607c 100644
--- a/arch/powerpc/include/asm/nvram.h
+++ b/arch/powerpc/include/asm/nvram.h
@@ -51,7 +51,8 @@ static inline int mmio_nvram_init(void)
extern int __init nvram_scan_partitions(void);
extern loff_t nvram_create_partition(const char *name, int sig,
int req_size, int min_size);
-extern int nvram_remove_partition(const char *name, int sig);
+extern int nvram_remove_partition(const char *name, int sig,
+ const char *exceptions[]);
extern int nvram_get_partition_size(loff_t data_index);
extern loff_t nvram_find_partition(const char *name, int sig, int *out_size);