}
}
-int kstack_depth_to_print = 24;
+static int kstack_depth_to_print = 24;
void show_stack(unsigned long *sp)
{
#include <asm/io.h>
#include <asm/pgtable.h>
-int kstack_depth_to_print = 24;
+static int kstack_depth_to_print = 24;
void show_trace(unsigned long * stack)
{
* callback we use.
*/
-void handle_poweroff (int key, struct pt_regs *pt_regs,
- struct kbd_struct *kbd, struct tty_struct *tty) {
+static void handle_poweroff (int key, struct pt_regs *pt_regs,
+ struct kbd_struct *kbd, struct tty_struct *tty)
+{
apm_power_off();
}
-struct sysrq_key_op sysrq_poweroff_op = {
+static struct sysrq_key_op sysrq_poweroff_op = {
handler: handle_poweroff,
help_msg: "Off",
action_msg: "Power Off\n"
asmlinkage void spurious_interrupt_bug(void);
asmlinkage void machine_check(void);
-int kstack_depth_to_print = 24;
+static int kstack_depth_to_print = 24;
/*
}
-int kstack_depth_to_print = 48;
+static int kstack_depth_to_print = 48;
extern struct module kernel_module;
static inline int kernel_text_address(unsigned long addr)
void (*ibe_board_handler)(struct pt_regs *regs);
void (*dbe_board_handler)(struct pt_regs *regs);
-int kstack_depth_to_print = 24;
-
/*
* These constant is for searching for possible module text segments.
* MODULE_RANGE is a guess of how much space is likely to be vmalloced.
char vce_available = 0;
char mips4_available = 0;
-int kstack_depth_to_print = 24;
-
/*
* These constant is for searching for possible module text segments.
* MODULE_RANGE is a guess of how much space is likely to be vmalloced.
#define VMALLOC_OFFSET (8*1024*1024)
#define MODULE_RANGE (8*1024*1024)
-int kstack_depth_to_print = 24;
-
static void printbinary(unsigned long x, int nbits)
{
unsigned long mask = 1UL << (nbits - 1);
static ext_int_info_t ext_int_pfault;
#endif
-int kstack_depth_to_print = 12;
+static int kstack_depth_to_print = 12;
/*
* If the address is either in the .text section of the
static ext_int_info_t ext_int_pfault;
#endif
-int kstack_depth_to_print = 20;
+static int kstack_depth_to_print = 20;
/*
* If the address is either in the .text section of the
struct notifier_block *die_chain;
-int kstack_depth_to_print = 10;
+static int kstack_depth_to_print = 10;
#ifdef CONFIG_KALLSYMS
#include <linux/kallsyms.h>