> You actually need the const attribute on __ia64_get_io_port_base

cscope didn't show any users of this function ... so I thought
perhaps the callers were in some macros that concatenated
strings with ## to make the name, but I couldn't see any.

So I tried the big hammer and just deleted the function
entirely to see what would complain, but nothing did (for
compile with defconfig and tiger_defconfig).

So unless something very, very, very subtle is happening
here, I'd say the fix would be to delete this function
altogether.  Rumours of better/worse code with/without
the "const" modifier look to be unfounded.

Hint: we also store ia64_iobase in ar.k0 ... so perhaps this
function has been obsolete for a while?

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to