~ubuntu-branches/ubuntu/quantal/kexec-tools/quantal

« back to all changes in this revision

Viewing changes to purgatory/arch/ppc/purgatory-ppc.c

  • Committer: Package Import Robot
  • Author(s): Stefan Bader
  • Date: 2012-07-17 10:50:17 UTC
  • mfrom: (2.2.9 sid)
  • Revision ID: package-import@ubuntu.com-20120717105017-w6o9gsfy9job11lz
Tags: 1:2.0.3-1ubuntu1
* Merge from Debian (LP: #1020965); remaining changes:
  - Fix FTBFS on powerpc due to duplicate defnition of __lshrdi3.
  - Only run update-grub if /boot/grub/grub.cfg exists, fixing installation
    in chroots.
  - Run aclocal during build; build-dep on automake1.9.
  - Add and install kdump init script and initramfs snippet; depend on
    initramfs-tools and call the update-initramfs trigger.  Also call
    update-grub after update-initramfs trigger.
  - Default to not kexecing a kernel on boot in the automatically
    generated conffile.
  - Only install the kdump initramfs script and depend on makedumpfile on
    architectures that makedumpfile supports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
unsigned long backup_start = 0;
27
27
unsigned long stack = 0;
28
28
unsigned long dt_offset = 0;
29
 
unsigned long my_toc = 0;
 
29
unsigned long my_thread_ptr = 0;
30
30
unsigned long kernel = 0;
31
31
 
32
32
void setup_arch(void)
36
36
 
37
37
void post_verification_setup_arch(void)
38
38
{
 
39
#ifndef CONFIG_BOOKE
39
40
        if (panic_kernel)
40
41
                crashdump_backup_memory();
 
42
#endif
 
43
}
 
44
 
 
45
void crashdump_backup_memory(void)
 
46
{
 
47
        return;
41
48
}