]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
FRV: Fix linkage problems
authorDavid Howells <dhowells@redhat.com>
Fri, 20 Jul 2007 16:02:04 +0000 (17:02 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 20 Jul 2007 19:01:34 +0000 (12:01 -0700)
commit0b1937ac0ef1541c0ea44e6f81c33d2f59803957
treeedf587df9329cd84659f772aadaabec1dd0a426e
parent03ce11048b3832f5f0c471ccdb3363a870a14ac1
FRV: Fix linkage problems

Make it possible to use __start_notes and __stop_notes without getting a GPREL
overflow error from the FRV linker.

Small variables that would otherwise be in .data or .bss may, depending on the
arch, be placed in special sections (.sdata or .sbss) that permit single
instruction references on fixed instruction width machines.

__start_notes and __stop_notes aren't really char variables, and certainly
don't refer to data in .data or .bss.  Making them type "void" fools the
compiler into not assuming anything about them.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/ksysfs.c