Skip to content

Commit

Permalink
ppc64: Add declarations to ppc64 headers as well as powerpc headers
Browse files Browse the repository at this point in the history
For now, we need these declarations that we moved from C code in
the asm-ppc64 versions of these headers as well as the asm-powerpc
versions.  The asm-ppc64 versions will be disappearing shortly.

Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Paul Mackerras committed Nov 10, 2005
1 parent fe98aea commit 97671e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-ppc64/prom.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ extern void of_detach_node(const struct device_node *);
extern unsigned long prom_init(unsigned long, unsigned long, unsigned long,
unsigned long, unsigned long);
extern void finish_device_tree(void);
extern void unflatten_device_tree(void);
extern void early_init_devtree(void *);
extern int device_is_compatible(struct device_node *device, const char *);
extern int machine_is_compatible(const char *compat);
extern unsigned char *get_property(struct device_node *node, const char *name,
Expand Down
2 changes: 2 additions & 0 deletions include/asm-ppc64/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ struct thread_struct;
extern struct task_struct * _switch(struct thread_struct *prev,
struct thread_struct *next);

extern unsigned long klimit;

extern int powersave_nap; /* set if nap mode can be used in idle loop */

/*
Expand Down

0 comments on commit 97671e4

Please sign in to comment.