Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116750
b: refs/heads/master
c: f0514ae
h: refs/heads/master
v: v3
  • Loading branch information
James Bottomley authored and Kyle McMartin committed Oct 10, 2008
1 parent 862bcbf commit a56ed46
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 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: 0be7d1fe4361bb9f2ebbd6fa394687cbe4bea950
refs/heads/master: f0514ae323f19ba1ad4bea4174ea274c812f7eee
2 changes: 2 additions & 0 deletions trunk/arch/parisc/include/asm/unwind.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,6 @@ void unwind_frame_init_running(struct unwind_frame_info *info, struct pt_regs *r
int unwind_once(struct unwind_frame_info *info);
int unwind_to_user(struct unwind_frame_info *info);

int unwind_init(void);

#endif
2 changes: 2 additions & 0 deletions trunk/arch/parisc/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include <asm/pdc_chassis.h>
#include <asm/io.h>
#include <asm/setup.h>
#include <asm/unwind.h>

static char __initdata command_line[COMMAND_LINE_SIZE];

Expand Down Expand Up @@ -123,6 +124,7 @@ void __init setup_arch(char **cmdline_p)
#ifdef CONFIG_64BIT
extern int parisc_narrow_firmware;
#endif
unwind_init();

init_per_cpu(smp_processor_id()); /* Set Modes & Enable FP */

Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/parisc/kernel/unwind.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ void unwind_table_remove(struct unwind_table *table)
}

/* Called from setup_arch to import the kernel unwind info */
static int unwind_init(void)
int unwind_init(void)
{
long start, stop;
register unsigned long gp __asm__ ("r27");
Expand Down Expand Up @@ -417,5 +417,3 @@ int unwind_to_user(struct unwind_frame_info *info)

return ret;
}

module_init(unwind_init);

0 comments on commit a56ed46

Please sign in to comment.