Commit be5a6d68 authored by Russell King's avatar Russell King

[ARM] 2.5.45 updates

- Convert to new configuration language and fix up HEX config symbols
- Fix build errors for !CONFIG_KALLSYMS case
- Add module list to oopsen.
- Add POLLREMOVE
parent e2ecfa5e
......@@ -1113,15 +1113,18 @@ source "net/bluetooth/Kconfig"
menu "Kernel hacking"
# Always compile kernel with framepointer (until 2.4 real comes out)
# Bug reports aren't much use without this.
config NO_FRAME_POINTER
bool "Compile kernel without frame pointer"
# RMK wants arm kernels compiled with frame pointers so hardwire this to y.
# If you know what you are doing and are willing to live without stack
# traces, you can get a slightly smaller kernel by setting this option to
# n, but then RMK will have to kill you ;).
config FRAME_POINTER
bool
default y
help
If you say Y here, the resulting kernel will be slightly smaller and
If you say N here, the resulting kernel will be slightly smaller and
faster. However, when a problem occurs with the kernel, the
information that is reported is severely limited. Most people
should say N here.
should say Y here.
config DEBUG_USER
bool "Verbose user fault messages"
......@@ -1132,7 +1135,7 @@ config DEBUG_USER
production system. Most people should say N here.
config DEBUG_INFO
bool "Include debugging information in kernel binary"
bool "Include GDB debugging information in kernel binary"
help
Say Y here to include source-level debugging information in the
`vmlinux' binary image. This is handy if you want to use gdb or
......@@ -1201,6 +1204,14 @@ config DEBUG_ERRORS
you are concerned with the code size or don't want to see these
messages.
config KALLSYMS
bool "Load all symbols for debugging/kksymoops"
depends on DEBUG_KERNEL
help
Say Y here to let the kernel print out symbolic crash information and
symbolic stack backtraces. This increases the size of the kernel
somewhat, as all symbols have to be loaded into the kernel image.
# These options are only for real kernel hackers who want to get their hands dirty.
config DEBUG_LL
bool "Kernel low-level debugging functions"
......
......@@ -112,8 +112,8 @@ endif
# from ROM or Flash must define ZTEXTADDR (preferably via the config)
#
ifeq ($(CONFIG_ZBOOT_ROM),y)
ZTEXTADDR =0x$(CONFIG_ZBOOT_ROM_TEXT)
ZBSSADDR =0x$(CONFIG_ZBOOT_ROM_BSS)
ZTEXTADDR =$(CONFIG_ZBOOT_ROM_TEXT)
ZBSSADDR =$(CONFIG_ZBOOT_ROM_BSS)
else
ZTEXTADDR =0
ZBSSADDR =ALIGN(4)
......
......@@ -11,6 +11,7 @@
#include <stdarg.h>
#include <linux/config.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
......
......@@ -13,6 +13,7 @@
* kill the offending process.
*/
#include <linux/config.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/signal.h>
......@@ -206,6 +207,7 @@ NORET_TYPE void die(const char *str, struct pt_regs *regs, int err)
bust_spinlocks(1);
printk("Internal error: %s: %x\n", str, err);
print_modules();
printk("CPU: %d\n", smp_processor_id());
show_regs(regs);
printk("Process %s (pid: %d, stack limit = 0x%p)\n",
......
......@@ -15,6 +15,7 @@
#define POLLWRNORM 0x0100
#define POLLWRBAND 0x0200
#define POLLMSG 0x0400
#define POLLREMOVE 0x1000
struct pollfd {
int fd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment