Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175718
b: refs/heads/master
c: ae7dd02
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and Benjamin Herrenschmidt committed Oct 30, 2009
1 parent 5f209ef commit 0b03beb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 27 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0682d6c1044e8a54aafdc6282d44c0c436da208f
refs/heads/master: ae7dd0208f62f1d6db4c49b85e54fa7bbed0ea4e
1 change: 0 additions & 1 deletion trunk/arch/powerpc/include/asm/nvram.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ extern int nvram_write_error_log(char * buff, int length,
extern int nvram_read_error_log(char * buff, int length,
unsigned int * err_type, unsigned int *err_seq);
extern int nvram_clear_error_log(void);
extern struct nvram_partition *nvram_find_partition(int sig, const char *name);

extern int pSeries_nvram_init(void);

Expand Down
25 changes: 0 additions & 25 deletions trunk/arch/powerpc/kernel/nvram_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,31 +228,6 @@ static unsigned char nvram_checksum(struct nvram_header *p)
return c_sum;
}


/*
* Find an nvram partition, sig can be 0 for any
* partition or name can be NULL for any name, else
* tries to match both
*/
struct nvram_partition *nvram_find_partition(int sig, const char *name)
{
struct nvram_partition * part;
struct list_head * p;

list_for_each(p, &nvram_part->partition) {
part = list_entry(p, struct nvram_partition, partition);

if (sig && part->header.signature != sig)
continue;
if (name && 0 != strncmp(name, part->header.name, 12))
continue;
return part;
}
return NULL;
}
EXPORT_SYMBOL(nvram_find_partition);


static int nvram_remove_os_partition(void)
{
struct list_head *i;
Expand Down

0 comments on commit 0b03beb

Please sign in to comment.