Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175720
b: refs/heads/master
c: 32c105c
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and Benjamin Herrenschmidt committed Oct 30, 2009
1 parent 32f1586 commit f8351d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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: fd62c6c448669a946e94fbb0ad179918b2233e3d
refs/heads/master: 32c105c3781d32c55429fbac493602028913390a
14 changes: 7 additions & 7 deletions trunk/arch/powerpc/kernel/nvram_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ static struct miscdevice nvram_dev = {


#ifdef DEBUG_NVRAM
static void nvram_print_partitions(char * label)
static void __init nvram_print_partitions(char * label)
{
struct list_head * p;
struct nvram_partition * tmp_part;
Expand All @@ -202,7 +202,7 @@ static void nvram_print_partitions(char * label)
#endif


static int nvram_write_header(struct nvram_partition * part)
static int __init nvram_write_header(struct nvram_partition * part)
{
loff_t tmp_index;
int rc;
Expand All @@ -214,7 +214,7 @@ static int nvram_write_header(struct nvram_partition * part)
}


static unsigned char nvram_checksum(struct nvram_header *p)
static unsigned char __init nvram_checksum(struct nvram_header *p)
{
unsigned int c_sum, c_sum2;
unsigned short *sp = (unsigned short *)p->name; /* assume 6 shorts */
Expand All @@ -228,7 +228,7 @@ static unsigned char nvram_checksum(struct nvram_header *p)
return c_sum;
}

static int nvram_remove_os_partition(void)
static int __init nvram_remove_os_partition(void)
{
struct list_head *i;
struct list_head *j;
Expand Down Expand Up @@ -294,7 +294,7 @@ static int nvram_remove_os_partition(void)
* Will create a partition starting at the first free
* space found if space has enough room.
*/
static int nvram_create_os_partition(void)
static int __init nvram_create_os_partition(void)
{
struct nvram_partition *part;
struct nvram_partition *new_part;
Expand Down Expand Up @@ -397,7 +397,7 @@ static int nvram_create_os_partition(void)
* 5.) If the max chunk cannot be allocated then try finding a chunk
* that will satisfy the minum needed (NVRAM_MIN_REQ).
*/
static int nvram_setup_partition(void)
static int __init nvram_setup_partition(void)
{
struct list_head * p;
struct nvram_partition * part;
Expand Down Expand Up @@ -455,7 +455,7 @@ static int nvram_setup_partition(void)
}


static int nvram_scan_partitions(void)
static int __init nvram_scan_partitions(void)
{
loff_t cur_index = 0;
struct nvram_header phead;
Expand Down

0 comments on commit f8351d0

Please sign in to comment.