Commit bf1c989a authored by David Mosberger's avatar David Mosberger

ia64: Sync up with 2.5.18.

parent ca4e406a
...@@ -199,7 +199,7 @@ pcibios_config_init (void) ...@@ -199,7 +199,7 @@ pcibios_config_init (void)
return; return;
} }
void __init static int __init
pcibios_init (void) pcibios_init (void)
{ {
# define PCI_BUSES_TO_SCAN 255 # define PCI_BUSES_TO_SCAN 255
......
...@@ -206,7 +206,6 @@ show_mem(void) ...@@ -206,7 +206,6 @@ show_mem(void)
printk("%d pages shared\n", shared); printk("%d pages shared\n", shared);
printk("%d pages swap cached\n", cached); printk("%d pages swap cached\n", cached);
printk("%ld pages in page table cache\n", pgtable_cache_size); printk("%ld pages in page table cache\n", pgtable_cache_size);
printk("%ld buffermem pages\n", nr_buffermem_pages());
#endif /* !CONFIG_DISCONTIGMEM */ #endif /* !CONFIG_DISCONTIGMEM */
} }
......
...@@ -326,6 +326,12 @@ ia64_fls (unsigned long x) ...@@ -326,6 +326,12 @@ ia64_fls (unsigned long x)
return exp - 0xffff; return exp - 0xffff;
} }
static int
fls (int x)
{
return ia64_fls((unsigned int) x);
}
/* /*
* ffs: find first bit set. This is defined the same way as the libc and compiler builtin * ffs: find first bit set. This is defined the same way as the libc and compiler builtin
* ffs routines, therefore differs in spirit from the above ffz (man ffs): it operates on * ffs routines, therefore differs in spirit from the above ffz (man ffs): it operates on
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment