v65c816-big: fix memory scribble
authorAlan Cox <alan@linux.intel.com>
Wed, 3 Jan 2018 21:55:15 +0000 (21:55 +0000)
committerAlan Cox <alan@linux.intel.com>
Wed, 3 Jan 2018 21:55:15 +0000 (21:55 +0000)
Kernel/platform-v65c816-big/v65.s

index 6a42b8f..a45416d 100644 (file)
@@ -217,9 +217,13 @@ hd_wpatch:
 
        rts
 
+       .data
+
 _hd_kmap:
        .res 1
 
+       .code
+
 ;
 ;      For non bank 0 we can't just poke addresses from C but need helpers.
 ;      We pass a single argument of dataoffset,data so we get a single