Re: [PATCH v2 1/2] mtd: fix wrong usage of ioremap_nocache() in uclinux.c map driver
Artem Bityutskiy <[email protected]>
| Newsgroups | gmane.linux.uclinux.devel,gmane.linux.drivers.mtd |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2012-07-19 at 15:42 +1000, [email protected] wrote: > From: Greg Ungerer <[email protected]> > > The uclinux.c mapping driver uses ioremap_nocache() to map its physical > mapping address to a system virtual address. Problem is that the region > it is mapping is not device memory. It is ordinary system RAM. On most > non-MMU systems this doesn't matter, and the mapping is always a 1:1 > translation of the address. On paged memory systems on some architectures > the page table mappings are not compatible between normal RAM and device > memory. I cannot compile m68k because of the following errors: arch/m68k/platform/coldfire/clk.c:54:13: error: redefinition of 'clk_get' include/linux/clk.h:281:27: note: previous definition of 'clk_get' was here arch/m68k/platform/coldfire/clk.c:68:5: error: redefinition of 'clk_enable' include/linux/clk.h:295:19: note: previous definition of 'clk_enable' was here arch/m68k/platform/coldfire/clk.c:80:6: error: redefinition of 'clk_disable' include/linux/clk.h:300:20: note: previous definition of 'clk_disable' was here arch/m68k/platform/coldfire/clk.c:90:6: error: redefinition of 'clk_put' include/linux/clk.h:291:20: note: previous definition of 'clk_put' was here arch/m68k/platform/coldfire/clk.c:97:15: error: redefinition of 'clk_get_rate' include/linux/clk.h:302:29: note: previous definition of 'clk_get_rate' was here arch/m68k/platform/coldfire/clk.c:150:13: error: redefinition of 'devm_clk_get' include/linux/clk.h:286:27: note: previous definition of 'devm_clk_get' was here make[2]: *** [arch/m68k/platform/coldfire/clk.o] Error 1 so I cannot compile-test this patch. Do you have a work-around patch for that compilation issue? -- Best Regards, Artem Bityutskiy _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABAgAGBQJQLkQ4AAoJECmIfjd9wqK0uYwP/j9Ij5c7lTwShzvN+BmJHLGx 2S4FNoH2b2PLV/3CstddXBMikGEIhW1eMAo7cFIIEkQ64FmWo3NkiJN5YOCHLY92 zzBbwwSciPg4yQoTSRHQJYJCKBCuyoump8NyT6FSywagsA6BEgorq3FeFWmxwk3q 9XPB/zXX9NPiwVA1jEWKCSKYphvNwvo3KBiHCjQCwocG33zQrr/gNu5dkU5U8y/U m8YFtY0nXWfCW/2v+cWI5pGF/bJZMAYYJAycH98+g0iTYPY6Rd9k5Y/zR4Ufzj9M Zl4xwo7J7dgofoZhh3cynmbtHaCBahL/n7705rreZOmTGdLzfklq/zOLjeLOYR25 L6BLyg7zXNy575TD28rk6pRbAvL+LAbmdozPogUTTIavF3+Xsv0+GerifQKXx+At Y+RFoD3U/IFu4KDP5H/0eK3/iWEgCMVdgbOrrO80wdZcubCPjXd3g+JIJgqCaxR7 ViFx4RVu76VLse3huxcMdhwxv9Mi+hdTCci8wbpWoVfK7Cb85LwkNRT70MvIUwFO 6ZNnrkJj3c6YR6/i6bhgoBlnhKaYbfco/oevmTwbjJKkvdD6cyNTv7w2Cs3lgMp7 r1G4Tracjtbu9EAMIl5/hyWwNar7RvA3/nHZUb9bOLhK5D3tef3Icd2BKR/A3Od7 R+RCqo60avP7ywUTDG/i =XuA2 -----END PGP SIGNATURE-----