aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/nvram.h
diff options
context:
space:
mode:
authorJim Keniston <jkenisto@linux.vnet.ibm.com>2011-02-09 07:43:13 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-03-04 02:19:04 -0500
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 92efe67d1c57..9d1aafe607c7 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)
51extern int __init nvram_scan_partitions(void); 51extern int __init nvram_scan_partitions(void);
52extern loff_t nvram_create_partition(const char *name, int sig, 52extern loff_t nvram_create_partition(const char *name, int sig,
53 int req_size, int min_size); 53 int req_size, int min_size);
54extern int nvram_remove_partition(const char *name, int sig); 54extern int nvram_remove_partition(const char *name, int sig,
55 const char *exceptions[]);
55extern int nvram_get_partition_size(loff_t data_index); 56extern int nvram_get_partition_size(loff_t data_index);
56extern loff_t nvram_find_partition(const char *name, int sig, int *out_size); 57extern loff_t nvram_find_partition(const char *name, int sig, int *out_size);
57 58