core_kernel_data(): Fix architectures that do not define _sdata
authorIngo Molnar <mingo@elte.hu>
Thu, 19 May 2011 23:22:14 +0000 (01:22 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 19 May 2011 23:27:16 +0000 (01:27 +0200)
commitc5fc472171ec4f96d06d1ac039d88f9b89bb95db
treeb83af634894e5f70f042a67ebfee876e4b16183f
parent29510ec3b626c86de9707bb8904ff940d430289b
core_kernel_data(): Fix architectures that do not define _sdata

Some architectures such as Alpha do not define _sdata but _data:

  kernel/built-in.o: In function `core_kernel_data':
  kernel/extable.c:77: undefined reference to `_sdata'

So expand the scope of the data range to the text addresses too,
this might be more correct anyway because this way we can
cover readonly variables as well.

Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/n/tip-i878c8a0e0g0ep4v7i6vxnhz@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/extable.c