Commit 503a7b23 authored by Christoph Hellwig's avatar Christoph Hellwig

[PATCH] include buffer_head.h in actual users instead of fs.h (2/10)

Declare buffer_init() extern in init/main.c like the other _init so that
it doesn't have to include buffer_head.h.  Remove buffer_init() there.
parent f97b337e
...@@ -143,7 +143,6 @@ BUFFER_FNS(Async_Write, async_write) ...@@ -143,7 +143,6 @@ BUFFER_FNS(Async_Write, async_write)
*/ */
void FASTCALL(mark_buffer_dirty(struct buffer_head *bh)); void FASTCALL(mark_buffer_dirty(struct buffer_head *bh));
void buffer_init(void);
void init_buffer(struct buffer_head *, bh_end_io_t *, void *); void init_buffer(struct buffer_head *, bh_end_io_t *, void *);
void set_bh_page(struct buffer_head *bh, void set_bh_page(struct buffer_head *bh,
struct page *page, unsigned long offset); struct page *page, unsigned long offset);
......
...@@ -68,6 +68,7 @@ extern void mca_init(void); ...@@ -68,6 +68,7 @@ extern void mca_init(void);
extern void sbus_init(void); extern void sbus_init(void);
extern void sysctl_init(void); extern void sysctl_init(void);
extern void signals_init(void); extern void signals_init(void);
extern void buffer_init(void);
extern void radix_tree_init(void); extern void radix_tree_init(void);
extern void free_initmem(void); extern void free_initmem(void);
......
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