lkml.org 
[lkml]   [2008]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH] debug: add notifier chain debugging
On Fri, Aug 15, 2008 at 3:29 PM, Arjan van de Ven <arjan@infradead.org> wrote:
> + if (!kernel_text_address((unsigned long)n->notifier_call)) {
> + WARN(1, "Invalid notifier registered!");
> + return 0;
> + }

This breaks on ia64 (and pa-risc I think) where function pointers don't point
directly at the code, they point to a {code,data} structure which is itself
located in data space, not text space.

-Tony


\
 
 \ /
  Last update: 2008-08-26 00:41    [W:0.114 / U:7.500 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site