KERN_UNKNOWN_NMI_PANIC=66, /* int: unknown nmi panic flag */
KERN_BOOTLOADER_TYPE=67, /* int: boot loader type */
KERN_RANDOMIZE=68, /* int: randomize virtual address space */
- KERN_SETUID_DUMPABLE=69, /* int: behaviour of dumps for setuid core */
- KERN_DUMP=70, /* dir: dump parameters */
- KERN_VSHELPER=71, /* string: path to vshelper policy agent */
+ KERN_VSHELPER=69, /* string: path to vshelper policy agent */
};
mounts-$(CONFIG_BLK_DEV_INITRD) += do_mounts_initrd.o
mounts-$(CONFIG_BLK_DEV_MD) += do_mounts_md.o
-extra-$(subst m,y,$(CONFIG_CRASH_DUMP)) += kerntypes.o
-CFLAGS_kerntypes.o := -gstabs
-
# files to be removed upon make clean
clean-files := ../include/linux/compile.h
#include <linux/uts.h>
#include <linux/utsname.h>
#include <linux/version.h>
-#include <linux/stringify.h>
#define version(a) Version_ ## a
#define version_string(a) version(a)
"Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";
-const char *LINUX_COMPILE_VERSION_ID = __stringify(LINUX_COMPILE_VERSION_ID);
-LINUX_COMPILE_VERSION_ID_TYPE;
-
const char vx_linux_banner[] =
"Linux version %s (" LINUX_COMPILE_BY "@"
LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") %s\n";
+
int tainted;
unsigned int crashed;
int crash_dump_on;
-void (*dump_function_ptr)(const char *, const struct pt_regs *) = 0;
EXPORT_SYMBOL(panic_timeout);
-EXPORT_SYMBOL(dump_function_ptr);
struct notifier_block *panic_notifier_list;
/* If we have crashed, perform a kexec reboot, for dump write-out */
crash_machine_kexec();
- notifier_call_chain(&panic_notifier_list, 0, buf);
-
#ifdef CONFIG_SMP
smp_send_stop();
#endif
* We can't use the "normal" timers since we just panicked..
*/
printk(KERN_EMERG "Rebooting in %d seconds..",panic_timeout);
-#ifdef CONFIG_KEXEC
- {
- struct kimage *image;
- image = xchg(&kexec_image, 0);
- if (image) {
- printk(KERN_EMERG "by starting a new kernel ..\n");
- mdelay(panic_timeout*1000);
- machine_kexec(image);
- }
- }
-#endif
for (i = 0; i < panic_timeout*1000; ) {
touch_nmi_watchdog();
i += panic_blink(i);