lkml.org 
[lkml]   [1999]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] *(int*)0 = 0 & variations
Date
> The following functions more like the userland version:
>
>#ifndef NDEBUG
># define kassert(cond) \
> if (!(cond)) { \
> printk (KERN_ERR "kassert failed in function %s, file %s, line %d:
>%s\n", \
> __FUNCTION__, \
> __FILE__, \
> __LINE__, \
> __STRING(cond)); \
> *(int*)0 = 0; \ <<<<<<<<<<<<<<<<<<<<<<<<<<<<
> }


we should split show_registers() into show_callchain() and
the rest. Don't force an oops.

--
Manfred


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [from the cache]
©2003-2011 Jasper Spaans